Add constructor for CustomPluginHotkey

This commit is contained in:
Jack251970 2025-07-02 15:17:35 +08:00
parent c4ce8fe580
commit 476ad9be9b

View file

@ -8,6 +8,12 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public string Hotkey { get; set; }
public string ActionKeyword { get; set; }
public CustomPluginHotkey(string hotkey, string actionKeyword)
{
Hotkey = hotkey;
ActionKeyword = actionKeyword;
}
public override bool Equals(object other)
{
if (other is CustomPluginHotkey otherHotkey)