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

Remove canBeNull

This commit is contained in:
ansel 2023-01-18 02:10:02 +03:00
parent c38f3b461c
commit 12544c16ea

View File

@ -70,7 +70,7 @@ namespace osu.Game.Overlays.Comments
private GridContainer content = null!; private GridContainer content = null!;
private VotePill votePill = null!; private VotePill votePill = null!;
[Resolved(canBeNull: true)] [Resolved]
private IDialogOverlay? dialogOverlay { get; set; } private IDialogOverlay? dialogOverlay { get; set; }
[Resolved] [Resolved]
@ -79,7 +79,7 @@ namespace osu.Game.Overlays.Comments
[Resolved] [Resolved]
private GameHost host { get; set; } = null!; private GameHost host { get; set; } = null!;
[Resolved(canBeNull: true)] [Resolved]
private OnScreenDisplay? onScreenDisplay { get; set; } private OnScreenDisplay? onScreenDisplay { get; set; }
public DrawableComment(Comment comment) public DrawableComment(Comment comment)