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;
[Resolved(CanBeNull = true)]
[Resolved]
private ChannelManager? chatManager { get; set; }
[Resolved]
@ -258,7 +258,7 @@ namespace osu.Game.Overlays.Chat
this.sender = sender;
}
[BackgroundDependencyLoader(true)]
[BackgroundDependencyLoader]
private void load(UserProfileOverlay? profile, ChannelManager? chatManager)
{
Action = () => profile?.ShowUser(sender);