mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add empty for hotkey model
This commit is contained in:
parent
805b8efe04
commit
503bc485cb
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ namespace Flow.Launcher.Infrastructure.Hotkey
|
|||
|
||||
public readonly bool IsEmpty => CharKey == Key.None && !Alt && !Shift && !Win && !Ctrl;
|
||||
|
||||
public static HotkeyModel Empty => new();
|
||||
|
||||
public HotkeyModel(string hotkeyString)
|
||||
{
|
||||
Parse(hotkeyString);
|
||||
|
|
|
|||
Loading…
Reference in a new issue