1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 15:10:26 +08:00

Remove CanBeNull where it's no longer requered

This commit is contained in:
ansel
2023-01-13 23:11:50 +03:00
Unverified
parent a41a031909
commit 515ada6815
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -131,16 +131,16 @@ namespace osu.Game.Screens.Play
private bool quickRestart;
[Resolved(CanBeNull = true)]
[Resolved]
private INotificationOverlay? notificationOverlay { get; set; }
[Resolved(CanBeNull = true)]
[Resolved]
private VolumeOverlay? volumeOverlay { get; set; }
[Resolved]
private AudioManager audioManager { get; set; } = null!;
[Resolved(CanBeNull = true)]
[Resolved]
private BatteryInfo? batteryInfo { get; set; }
public PlayerLoader(Func<Player> createPlayer)
+1 -1
View File
@@ -25,7 +25,7 @@ namespace osu.Game.Screens.Select
{
private OsuScreen? playerLoader;
[Resolved(CanBeNull = true)]
[Resolved]
private INotificationOverlay? notifications { get; set; }
public override bool AllowExternalScreenChange => true;