From 1296b0ec4239a1259917c068681340ee466b00ba Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Fri, 4 Nov 2022 01:13:29 +0800 Subject: [PATCH] minor changes --- .../UserSettings/CustomShortcutModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs index dcb466538..d0cca33a5 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs @@ -18,7 +18,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public override int GetHashCode() { - return HashCode.Combine(Key); + return Key.GetHashCode(); } } @@ -59,7 +59,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings { Key = key; Description = description; - Expand = expand ?? (() => { return ""; }); + Expand = expand ?? (() => { return Key; }); } } }