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

Remove CanBeNull specification from DI attributes

This commit is contained in:
Jai Sharma 2022-06-08 15:10:19 +01:00
parent 04b434b8ce
commit c2ed41d097

View File

@ -68,7 +68,7 @@ namespace osu.Game.Overlays.Chat
private bool messageHasColour => Message.IsAction && senderHasColour; private bool messageHasColour => Message.IsAction && senderHasColour;
[Resolved(CanBeNull = true)] [Resolved]
private ChannelManager? chatManager { get; set; } private ChannelManager? chatManager { get; set; }
[Resolved] [Resolved]
@ -258,7 +258,7 @@ namespace osu.Game.Overlays.Chat
this.sender = sender; this.sender = sender;
} }
[BackgroundDependencyLoader(true)] [BackgroundDependencyLoader]
private void load(UserProfileOverlay? profile, ChannelManager? chatManager) private void load(UserProfileOverlay? profile, ChannelManager? chatManager)
{ {
Action = () => profile?.ShowUser(sender); Action = () => profile?.ShowUser(sender);