mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00: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