1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-10 02:53:39 +08:00

Move hosted by text into nullcheck

This commit is contained in:
smoogipoo
2021-09-30 12:04:30 +09:00
Unverified
parent 202a602d2f
commit 816018edb7
@@ -261,9 +261,11 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
hostAvatar.User = host.NewValue;
hostText.Clear();
hostText.AddText("hosted by ");
if (host.NewValue != null)
{
hostText.AddText("hosted by ");
hostText.AddUserLink(host.NewValue);
}
}
private class CircularAvatar : CompositeDrawable