|
@@ -31,9 +31,13 @@ class WindowController extends GetxController with WindowListener {
|
|
Future<void> closeWindow() async {
|
|
Future<void> closeWindow() async {
|
|
await windowManager.close();
|
|
await windowManager.close();
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ Future<void> hideWindow() async {
|
|
|
|
+ await windowManager.hide();
|
|
|
|
+ isVisible.value = false;
|
|
|
|
+ }
|
|
Future<void> showWindow() async {
|
|
Future<void> showWindow() async {
|
|
await windowManager.show();
|
|
await windowManager.show();
|
|
|
|
+
|
|
isVisible.value = true;
|
|
isVisible.value = true;
|
|
}
|
|
}
|
|
|
|
|