mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 20:33:08 +08:00
Trim whitespaces
This commit is contained in:
parent
499ecd3843
commit
a5e0311253
@ -51,11 +51,11 @@ namespace osu.Game.Tests.Visual
|
|||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours, IAPIProvider api)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
linkColour = colours.Blue;
|
linkColour = colours.Blue;
|
||||||
|
|
||||||
var chatManager = new ChannelManager(Scheduler);
|
var chatManager = new ChannelManager();
|
||||||
chatManager.AvailableChannels.Add(new Channel { Name = "#english"});
|
chatManager.AvailableChannels.Add(new Channel { Name = "#english"});
|
||||||
chatManager.AvailableChannels.Add(new Channel { Name = "#japanese" });
|
chatManager.AvailableChannels.Add(new Channel { Name = "#japanese" });
|
||||||
dependencies.Cache(chatManager);
|
dependencies.Cache(chatManager);
|
||||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Online.Chat
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Manages everything channel related
|
/// Manages everything channel related
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ChannelManager : Component, IOnlineComponent,
|
public class ChannelManager : Component, IOnlineComponent
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The channels the player joins on startup
|
/// The channels the player joins on startup
|
||||||
@ -284,7 +284,6 @@ namespace osu.Game.Online.Chat
|
|||||||
fetchChannelMsgReq?.Cancel();
|
fetchChannelMsgReq?.Cancel();
|
||||||
fetchChannelMsgReq = null;
|
fetchChannelMsgReq = null;
|
||||||
fetchMessagesScheduleder?.Cancel();
|
fetchMessagesScheduleder?.Cancel();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user