1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

Fixed backup does not automatically resume when reopening app

This commit is contained in:
Alex Tran 2022-03-11 11:02:33 -06:00
parent 94cc1d7dbd
commit 21d1920d68

View file

@ -47,6 +47,8 @@ class _ImmichAppState extends ConsumerState<ImmichApp> with WidgetsBindingObserv
debugPrint("[APP STATE] inactive");
ref.watch(appStateProvider.notifier).state = AppStateEnum.inactive;
ref.watch(websocketProvider.notifier).disconnect();
ref.watch(backupProvider.notifier).cancelBackup();
break;
case AppLifecycleState.paused:
debugPrint("[APP STATE] paused");