Fix hotkey string issue

This commit is contained in:
Jack251970 2025-07-10 22:48:40 +08:00
parent 00778560f8
commit ad81a3c091

View file

@ -245,7 +245,7 @@ public record RegisteredHotkeyData
/// <inheritdoc />
public override string ToString()
{
return Hotkey.IsEmpty ? $"{RegisteredType} - {Hotkey}" : $"{RegisteredType} - None";
return Hotkey.IsEmpty ? $"{RegisteredType} - None" : $"{RegisteredType} - {Hotkey}";
}
}