1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-21 01:39:59 +02:00
immich/mobile/lib/shared/providers/app_state.provider.dart
2022-02-03 10:06:44 -06:00

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;
});