Accept Channel in ctor and remove Channel property

This commit is contained in:
DrabWeb
2017-05-27 17:35:42 -03:00
parent 38d0138978
commit b632e7f1ad
2 changed files with 12 additions and 22 deletions

View File

@ -35,7 +35,7 @@ namespace osu.Game.Overlays.Chat
public IEnumerable<Channel> Channels
{
set { ChannelFlow.Children = value.Select(c => new ChannelListItem { Channel = c }); }
set { ChannelFlow.Children = value.Select(c => new ChannelListItem(c)); }
}
public ChannelSection()