Skip to content

Commit 503bc48

Browse files
committed
Add empty for hotkey model
1 parent 805b8ef commit 503bc48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher.Infrastructure/Hotkey/HotkeyModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public ModifierKeys ModifierKeys
5151

5252
public readonly bool IsEmpty => CharKey == Key.None && !Alt && !Shift && !Win && !Ctrl;
5353

54+
public static HotkeyModel Empty => new();
55+
5456
public HotkeyModel(string hotkeyString)
5557
{
5658
Parse(hotkeyString);

0 commit comments

Comments
 (0)