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:
parent
a41a031909
commit
515ada6815
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user