mirror of
https://github.com/ppy/osu
synced 2025-01-09 15:49:32 +00:00
Remove CanBeNull
specification from DI attributes
This commit is contained in:
parent
04b434b8ce
commit
c2ed41d097
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user