🐛 Some fixes

This commit is contained in:
2025-09-07 13:00:59 +08:00
parent be80f5ff85
commit afe1e12a3b
4 changed files with 17 additions and 3 deletions

View File

@@ -63,7 +63,11 @@ class AppWrapper extends HookConsumerWidget with TrayListener {
}
void _trayIconPrimaryAction() {
appWindow.show();
if (appWindow.isVisible) {
appWindow.restore();
} else {
appWindow.show();
}
}
void _trayIconSecondaryAction() {