mirror of
https://github.com/ppy/osu.git
synced 2026-06-10 01:33:39 +08:00
Move hosted by text into nullcheck
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user