🐛 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

@@ -48,7 +48,11 @@ class TrayService {
void handleAction(MenuItem item) {
switch (item.key) {
case 'show_window':
appWindow.show();
if (appWindow.isVisible) {
appWindow.restore();
} else {
appWindow.show();
}
break;
case 'exit_app':
appWindow.close();