alroyso 1 year ago
parent
commit
71f74847d7
1 changed files with 4 additions and 4 deletions
  1. 4 4
      lib/app/controller/GlobalController.dart

+ 4 - 4
lib/app/controller/GlobalController.dart

@@ -169,10 +169,10 @@ class GlobalController extends GetxController {
   }
 
   Future<void> updateMode(String route) async {
-    // if(allowStatusUpdate){
-    //
-    //   return;
-    // }
+    if(allowStatusUpdate){
+
+      return;
+    }
     modesSelect.value = route;
     final coreStatus = controllers.service.coreStatus.value;
     if( coreStatus == RunningState.running){