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
1 changed files with 2 additions and 2 deletions

View File

@ -226,10 +226,10 @@ public MetadataLineLabel(LocalisableString text)
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;
}
}
}