mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Remove nullability from IBeatmapInfo.Metadata
This commit is contained in:
@ -119,7 +119,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
|
||||
authorText.Clear();
|
||||
|
||||
if (Item.Beatmap.Value?.Metadata?.Author != null)
|
||||
if (!string.IsNullOrEmpty(Item.Beatmap.Value?.Metadata.Author))
|
||||
{
|
||||
authorText.AddText("mapped by ");
|
||||
authorText.AddUserLink(new User { Username = Item.Beatmap.Value.Metadata.Author });
|
||||
|
Reference in New Issue
Block a user