minor changes

This commit is contained in:
Vic 2022-11-04 01:13:29 +08:00
parent 0eedb7b0f4
commit 1296b0ec42

View file

@ -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; });
}
}
}