mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:47:25 +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