1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

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
{
public MetadataLineInfo(LocalisableString text)
public MetadataLineInfo(string text)
{
Margin = new MarginPadding { Left = 5 };
Text = string.IsNullOrEmpty(text.ToString()) ? @"-" : text;
Text = string.IsNullOrEmpty(text) ? @"-" : text;
}
}
}