mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			227 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			227 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:hooks_riverpod/hooks_riverpod.dart';
 | 
						|
 | 
						|
enum AppStateEnum {
 | 
						|
  active,
 | 
						|
  inactive,
 | 
						|
  paused,
 | 
						|
  resumed,
 | 
						|
  detached,
 | 
						|
}
 | 
						|
 | 
						|
final appStateProvider = StateProvider<AppStateEnum>((ref) {
 | 
						|
  return AppStateEnum.active;
 | 
						|
});
 |