alroyso 1 year ago
parent
commit
51a1908408
1 changed files with 5 additions and 2 deletions
  1. 5 2
      lib/app/controller/tray.dart

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

@@ -94,9 +94,12 @@ class TrayController extends GetxController with TrayListener {
           ])),
       MenuItem.separator(),
      // MenuItem(label: 'tray_about'.tr, onClick: handleClickAbout),
-      MenuItem(label: 'tray_exit'.tr, onClick: handleClickExit),
 
-      isSHow == true ?  MenuItem(label: "显示控制台", onClick: handleClickConsoleShow) : MenuItem(disabled: true,label: "显示控制台", onClick: handleClickConsoleShow)
+
+      isSHow == true ?  MenuItem(label: "显示控制台", onClick: handleClickConsoleShow) : MenuItem(disabled: true,label: "显示控制台", onClick: handleClickConsoleShow),
+
+
+      MenuItem(label: 'tray_exit'.tr, onClick: handleClickExit),
     ]);