alroyso 1 year ago
parent
commit
bc0dc8e5b5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/app/modules/home/controllers/home_controller.dart

+ 2 - 0
lib/app/modules/home/controllers/home_controller.dart

@@ -1,5 +1,6 @@
 
 import 'dart:async';
+import 'dart:html';
 import 'dart:io';
 
 import 'package:dart_json_mapper/dart_json_mapper.dart';
@@ -118,6 +119,7 @@ class HomeController extends GetxController {
         controllers.global.startTunMode();
         if(controllers.service.serviceMode.value == false){
           await controllers.service.serviceModeSwitch(true);
+          serviceStuatus.value = true;
         }
 
         final coreStatus = controllers.service.coreStatus.value;