diff --git a/src-tauri/src/core/hotkey.rs b/src-tauri/src/core/hotkey.rs index e79cc2dd4..0a6ba7a35 100755 --- a/src-tauri/src/core/hotkey.rs +++ b/src-tauri/src/core/hotkey.rs @@ -163,8 +163,8 @@ impl Hotkey { notify_event(app_handle, NotificationEvent::LightweightModeEntered); } HotkeyFunction::Quit => { - feat::quit(); notify_event(app_handle, NotificationEvent::AppQuit); + feat::quit(); } #[cfg(target_os = "macos")] HotkeyFunction::Hide => {