mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Whitespace fixes
This commit is contained in:
parent
454c7538c0
commit
45482e8709
@ -244,7 +244,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
// Want to join another channel
|
||||
AddStep("Press Ctrl + T", pressControlT);
|
||||
|
||||
|
||||
// Selector should be visible
|
||||
AddAssert("Selector is visible", () => chatOverlay.SelectionOverlayState == Visibility.Visible);
|
||||
}
|
||||
|
@ -459,10 +459,9 @@ namespace osu.Game.Online.Chat
|
||||
long lastClosedChannelId = closedChannelIds.Last();
|
||||
closedChannelIds.RemoveAt(closedChannelIds.Count - 1);
|
||||
|
||||
bool lookupCondition(Channel ch) =>
|
||||
ch.Type == ChannelType.PM
|
||||
? ch.Users.Any(u => u.Id == lastClosedChannelId)
|
||||
: ch.Id == lastClosedChannelId;
|
||||
bool lookupCondition(Channel ch) => ch.Type == ChannelType.PM
|
||||
? ch.Users.Any(u => u.Id == lastClosedChannelId)
|
||||
: ch.Id == lastClosedChannelId;
|
||||
|
||||
// If the user hasn't already joined the channel, try to join it
|
||||
if (joinedChannels.FirstOrDefault(lookupCondition) == null)
|
||||
@ -480,7 +479,7 @@ namespace osu.Game.Online.Chat
|
||||
req.Success += user => CurrentChannel.Value = JoinChannel(new Channel(user));
|
||||
api.Queue(req);
|
||||
}
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user