1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 22:22:54 +08:00

Remove CanBeNull where it's no longer requered

This commit is contained in:
ansel 2023-01-13 23:11:50 +03:00
parent a41a031909
commit 515ada6815
2 changed files with 4 additions and 4 deletions

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)

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;