Skip to content

Commit 1296b0e

Browse files
minor changes
1 parent 0eedb7b commit 1296b0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public override bool Equals(object obj)
1818

1919
public override int GetHashCode()
2020
{
21-
return HashCode.Combine(Key);
21+
return Key.GetHashCode();
2222
}
2323
}
2424

@@ -59,7 +59,7 @@ public BuiltinShortcutModel(string key, string description, Func<string> expand)
5959
{
6060
Key = key;
6161
Description = description;
62-
Expand = expand ?? (() => { return ""; });
62+
Expand = expand ?? (() => { return Key; });
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)