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

Use ChatOverlayV2 in message notifier and tests

This commit is contained in:
Jai Sharma 2022-05-23 20:24:17 +01:00
parent 58d39734d0
commit d2a49ca266
2 changed files with 3 additions and 3 deletions

View File

@ -208,7 +208,7 @@ namespace osu.Game.Tests.Visual.Online
};
[Cached]
public ChatOverlay ChatOverlay { get; } = new ChatOverlay();
public ChatOverlayV2 ChatOverlay { get; } = new ChatOverlayV2();
private readonly MessageNotifier messageNotifier = new MessageNotifier();

View File

@ -27,7 +27,7 @@ namespace osu.Game.Online.Chat
private INotificationOverlay notifications { get; set; }
[Resolved]
private ChatOverlay chatOverlay { get; set; }
private ChatOverlayV2 chatOverlay { get; set; }
[Resolved]
private ChannelManager channelManager { get; set; }
@ -170,7 +170,7 @@ namespace osu.Game.Online.Chat
public override bool IsImportant => false;
[BackgroundDependencyLoader]
private void load(OsuColour colours, ChatOverlay chatOverlay, INotificationOverlay notificationOverlay)
private void load(OsuColour colours, ChatOverlayV2 chatOverlay, INotificationOverlay notificationOverlay)
{
IconBackground.Colour = colours.PurpleDark;