Skip to content

High performance self-hosted photo and video management solution.

Fixed backup does not automatically resume when reopening app

Alex Tran21d1920d68e0
diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart
index 3430fce682..67d9a3c260 100644
--- a/mobile/lib/main.dart
+++ b/mobile/lib/main.dart
@@ -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");