feat: the tray displays the shortcut keys that have been set

This commit is contained in:
huzibaca
2025-01-01 08:14:15 +08:00
parent 6b349eda45
commit 0b44d40b39
2 changed files with 23 additions and 6 deletions

View File

@@ -264,6 +264,7 @@ pub async fn patch_verge(patch: IVerge) -> Result<()> {
if let Some(hotkeys) = patch.hotkeys {
hotkey::Hotkey::global().update(hotkeys)?;
tray::Tray::global().update_menu()?;
}
if should_update_systray_icon {