Use properties for hashcode

This commit is contained in:
Vic 2023-01-11 16:14:50 +08:00
parent c03a0b031e
commit 3f6ab55ae7

View file

@ -177,7 +177,7 @@ namespace Flow.Launcher.Infrastructure.Hotkey
public override int GetHashCode()
{
return this.ToString().GetHashCode();
return HashCode.Combine(ModifierKeys, CharKey);
}
}
}