mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: function parameter call error
This commit is contained in:
@@ -158,7 +158,7 @@ pub fn run() {
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
{
|
||||
log_err!(hotkey::Hotkey::global().register()("Control+Q", "quit"));
|
||||
log_err!(hotkey::Hotkey::global().register("Control+Q", "quit"));
|
||||
};
|
||||
}
|
||||
tauri::WindowEvent::Focused(false) => {
|
||||
@@ -169,7 +169,7 @@ pub fn run() {
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
{
|
||||
log_err!(hotkey::Hotkey::global().unregister()("Control+Q"));
|
||||
log_err!(hotkey::Hotkey::global().unregister("Control+Q"));
|
||||
};
|
||||
}
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user