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