Browse Source

Add missing select case

Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
Neeraj Gupta 1 year ago
parent
commit
7d9e6b3b22
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/ui/lifecycle_event_handler.dart

+ 1 - 0
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!();
         }