Revert string type changes in MetadataLineInfo

This commit is contained in:
Dean Herbert 2022-04-21 14:10:58 +09:00
parent 9f525ee267
commit 848366416e

View File

@ -226,10 +226,10 @@ namespace osu.Game.Screens.Play
private class MetadataLineInfo : OsuSpriteText private class MetadataLineInfo : OsuSpriteText
{ {
public MetadataLineInfo(LocalisableString text) public MetadataLineInfo(string text)
{ {
Margin = new MarginPadding { Left = 5 }; Margin = new MarginPadding { Left = 5 };
Text = string.IsNullOrEmpty(text.ToString()) ? @"-" : text; Text = string.IsNullOrEmpty(text) ? @"-" : text;
} }
} }
} }