1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:02:55 +08:00

Pass correct params to UpdateableAvatar ctor in ChannelListItem

This commit is contained in:
Jai Sharma 2022-03-19 22:20:17 +00:00
parent ba5a43b526
commit f3702fbefb

View File

@ -157,7 +157,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
if (channel.Type != ChannelType.PM)
return Drawable.Empty();
return new UpdateableAvatar(channel.Users.First(), false, false, true)
return new UpdateableAvatar(channel.Users.First(), isInteractive: false)
{
Size = new Vector2(20),
Margin = new MarginPadding { Right = 5 },