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:
parent
0a207e00d5
commit
2a314f052a
@ -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));
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user