Rename icon creation method

This commit is contained in:
Dean Herbert 2022-03-18 14:03:52 +09:00
parent 5d940ded09
commit dfda093f4b

View File

@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Chat.ChannelControl
{ {
new[] new[]
{ {
createAvatar(), createIcon(),
new ControlItemText(channel) new ControlItemText(channel)
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
@ -133,7 +133,7 @@ namespace osu.Game.Overlays.Chat.ChannelControl
base.OnHoverLost(e); base.OnHoverLost(e);
} }
private Drawable createAvatar() private Drawable createIcon()
{ {
if (channel.Type != ChannelType.PM) if (channel.Type != ChannelType.PM)
return Drawable.Empty(); return Drawable.Empty();