1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 16:41:59 +00:00
immich/mobile/lib/shared/providers/app_state.provider.dart

14 lines
227 B
Dart
Raw Normal View History

2022-02-03 16:06:44 +00:00
import 'package:hooks_riverpod/hooks_riverpod.dart';
enum AppStateEnum {
active,
inactive,
paused,
resumed,
detached,
}
final appStateProvider = StateProvider<AppStateEnum>((ref) {
return AppStateEnum.active;
});