Add is empty for HotkeyModel

This commit is contained in:
Jack251970 2025-07-02 12:57:45 +08:00
parent 1d2aa96dcc
commit 989206b59c

View file

@ -49,6 +49,8 @@ namespace Flow.Launcher.Infrastructure.Hotkey
}
}
public readonly bool IsEmpty => CharKey == Key.None && !Alt && !Shift && !Win && !Ctrl;
public HotkeyModel(string hotkeyString)
{
Parse(hotkeyString);