Add empty for hotkey model

This commit is contained in:
Jack251970 2025-07-02 17:44:55 +08:00
parent 805b8efe04
commit 503bc485cb

View file

@ -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);