fix: windows tray disappearing after sleep/wake cycles (#1108)

This commit is contained in:
Levi authored and GitHub committed 2025-09-09 22:44:09 +08:00
1 parent 5c2f66f4b6
commit 46cd9f7a3e
3 files changed
+12 -7

No files matched your search

@@ -119,7 +119,7 @@ class AppController extends GetxController with WindowListener, TrayListener {
@override
void onTrayIconRightMouseDown() {
trayManager.popUpContextMenu();
trayManager.popUpContextMenu(bringAppToFront: true);
}
@override
+6 -5
View File
@@ -1252,11 +1252,12 @@ packages:
tray_manager:
dependency: "direct main"
description:
name: tray_manager
sha256: bdc3ac6c36f3d12d871459e4a9822705ce5a1165a17fa837103bc842719bf3f7
url: "https://pub.dev"
source: hosted
version: "0.2.4"
path: "packages/tray_manager"
ref: main
resolved-ref: "91cdbdc12517d0d832aca715542b9d0329739d5d"
url: "https://github.com/monkeyWie/tray_manager.git"
source: git
version: "0.5.1"
typed_data:
dependency: transitive
description:
+5 -1
View File
@@ -58,7 +58,11 @@ dependencies:
form_builder_validators: ^11.0.0
flutter_foreground_task: ^8.2.0
open_filex: ^4.5.0
tray_manager: ^0.2.4
tray_manager:
git:
url: https://github.com/monkeyWie/tray_manager.git
ref: main
path: packages/tray_manager
lecle_downloads_path_provider: ^0.0.2+8
hive: ^2.2.3
launch_at_startup: ^0.3.1