mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: function parameter call error
This commit is contained in:
parent
eefeec7f0a
commit
ab887c656a
|
@ -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"));
|
||||
};
|
||||
}
|
||||
_ => {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user