From 476ad9be9b85b28191584bbed36c0ba71094347f Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 2 Jul 2025 15:17:35 +0800 Subject: [PATCH] Add constructor for CustomPluginHotkey --- Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs b/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs index 60d0a99b3..0c5c38028 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/PluginHotkey.cs @@ -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)