mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
return Task directly
This commit is contained in:
parent
719fc99154
commit
4a1c585f17
1 changed files with 2 additions and 2 deletions
|
|
@ -101,9 +101,9 @@ namespace Flow.Launcher
|
|||
}
|
||||
}
|
||||
|
||||
public async Task SetHotkeyAsync(string keyStr, bool triggerValidate = true)
|
||||
public Task SetHotkeyAsync(string keyStr, bool triggerValidate = true)
|
||||
{
|
||||
await SetHotkeyAsync(new HotkeyModel(keyStr), triggerValidate);
|
||||
return SetHotkeyAsync(new HotkeyModel(keyStr), triggerValidate);
|
||||
}
|
||||
|
||||
private bool CheckHotkeyAvailability() => HotKeyMapper.CheckAvailability(CurrentHotkey);
|
||||
|
|
|
|||
Loading…
Reference in a new issue