1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

Trim more whitespace

This commit is contained in:
miterosan 2018-04-08 22:28:50 +02:00
parent 0a207e00d5
commit 2a314f052a
2 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ namespace osu.Game.Online.Chat
var req = new ListChannelsRequest();
req.Success += channels =>
{
{
channels.Where(channel => AvailableChannels.All(c => c.ChatID != channel.ChatID))
.ForEach(channel => AvailableChannels.Add(channel));

View File

@ -225,7 +225,7 @@ namespace osu.Game.Overlays
break;
case NotifyCollectionChangedAction.Remove:
foreach (ChannelChat removedChannel in args.OldItems)
{
{
channelTabs.RemoveItem(removedChannel);
loadedChannels.Remove(loadedChannels.Find(c => c.Chat == removedChannel ));
removedChannel.Joined.Value = false;
@ -371,7 +371,7 @@ namespace osu.Game.Overlays
chatManager.CurrentChat.ValueChanged += currentChatChanged;
chatManager.JoinedChannels.CollectionChanged += joinedChannelsChanged;
chatManager.AvailableChannels.CollectionChanged += availableChannelsChanged;
chatManager.OpenedUserChats.CollectionChanged += openedUserChatsChanged;
chatManager.OpenedUserChats.CollectionChanged += openedUserChatsChanged;
}
private void openedUserChatsChanged(object sender, NotifyCollectionChangedEventArgs args)