fix(tray): sync tray state after all init tasks complete

Tray refresh ran in parallel with core init, so the tray could display
stale state when the core hadn't fully started yet.
This commit is contained in:
Tunglies
2026-03-23 21:24:27 +08:00
parent e7cd690a45
commit 0932de9f6c
+2
View File
@@ -75,6 +75,8 @@ pub fn resolve_setup_async() {
init_auto_lightweight_boot(),
init_auto_backup(),
);
refresh_tray_menu().await;
});
}