alroyso 1 년 전
부모
커밋
32f14c39ab
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      lib/app/controller/core.dart
  2. 2 2
      lib/app/controller/tray.dart

+ 1 - 1
lib/app/controller/core.dart

@@ -93,7 +93,7 @@ class CoreController extends GetxController {
         await dio.put('/configs', data: {"path": configPath});
       }
       catch (e) {
-        await dio.put('/configs', data: {"path": configPath});
+       continue;
       }
     }
   }

+ 2 - 2
lib/app/controller/tray.dart

@@ -122,10 +122,10 @@ class TrayController extends GetxController with TrayListener {
     isSHow = true;
     if (menuItem.checked == true) {
       isShowConsole.value = true;
-      controllers.global.showConsole();
+      controllers.global.hideConsole();
     } else {
       isShowConsole.value = false;
-      controllers.global.hideConsole();
+      controllers.global.showConsole();
     }
   }
   Future<void> handleClickShow(MenuItem menuItem) async {