Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add missing select case

Neeraj Gupta7d9e6b3b22b7
diff --git a/lib/ui/lifecycle_event_handler.dart b/lib/ui/lifecycle_event_handler.dart
index babd5f52bc..2ce1b3b9e7 100644
--- a/lib/ui/lifecycle_event_handler.dart
+++ b/lib/ui/lifecycle_event_handler.dart
@@ -21,6 +21,7 @@ class LifecycleEventHandler extends WidgetsBindingObserver {
case AppLifecycleState.inactive:
case AppLifecycleState.paused:
case AppLifecycleState.detached:
+ case AppLifecycleState.hidden:
if (suspendingCallBack != null) {
await suspendingCallBack!();
}