Remove unnecessary null checks on Text property

This commit is contained in:
Dean Herbert 2022-06-01 17:46:33 +09:00
parent 8c54bd46bb
commit 1293bbdbd9

View File

@ -42,12 +42,8 @@ namespace osu.Game.Screens.Edit.Timing
public LocalisableString Text
{
get => text?.Text ?? default;
set
{
if (text != null)
text.Text = value;
}
get => text.Text;
set => text.Text = value;
}
[Resolved]