mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:02:55 +08:00
Fix known non-null variable
This commit is contained in:
parent
8a08d3f4ef
commit
e3c5a909e4
@ -223,9 +223,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
{
|
||||
if (realmKeyBinding != null)
|
||||
{
|
||||
KeyCombination? binding = realmKeyBinding.KeyCombination;
|
||||
|
||||
var keyBindingString = binding?.ReadableString();
|
||||
var keyBindingString = realmKeyBinding.KeyCombination.ReadableString();
|
||||
|
||||
if (!string.IsNullOrEmpty(keyBindingString))
|
||||
keyBindingTooltip.Text = $" ({keyBindingString})";
|
||||
|
Loading…
Reference in New Issue
Block a user