mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
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:
parent
e7cd690a45
commit
0932de9f6c
@ -75,6 +75,8 @@ pub fn resolve_setup_async() {
|
||||
init_auto_lightweight_boot(),
|
||||
init_auto_backup(),
|
||||
);
|
||||
|
||||
refresh_tray_menu().await;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user