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:
parent
58d39734d0
commit
d2a49ca266
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user