Create separate type for Join-Channel button

This commit is contained in:
Paul Teng
2019-05-12 06:02:21 -04:00
parent c508b8ed6b
commit 496a9dd41d
2 changed files with 16 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace osu.Game.Overlays.Chat.Tabs
Margin = new MarginPadding(10),
});
AddTabItem(selectorTab = new ChannelSelectorTabItem(new Channel { Name = "+" }));
AddTabItem(selectorTab = new ChannelSelectorTabItem(new ChannelSelectorTabChannel()));
ChannelSelectorActive.BindTo(selectorTab.Active);
}