alroyso 4 months ago
parent
commit
64b8b127f8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lib/app/controller/tray.dart

+ 3 - 1
lib/app/controller/tray.dart

@@ -29,13 +29,15 @@ class TrayController extends GetxController with TrayListener {
 
     if(Platform.isWindows){
       isSHow = true;
+
     }
 
     final disabled = controllers.global.connectStatus.value == false;
 
     var disabledSerivce = controllers.global.connectStatus.value;
     if(Platform.isWindows){
-      disabledSerivce = true;
+      //disabledTun.value = true;
+      disabledSerivce = false;
     }
 
     var serivceName = controllers.cc_service.installStatus.value == true? 'setting_service_uninstall'.tr : 'setting_service_install'.tr,