Use ResolvedAttribute for NotificationOverlay

This commit is contained in:
Craftplacer 2019-09-15 16:11:45 +02:00
parent 78931c8e23
commit 4a10e6c44e
1 changed files with 2 additions and 3 deletions

View File

@ -57,7 +57,8 @@ public class PlayerLoader : ScreenWithBeatmapBackground
private InputManager inputManager; private InputManager inputManager;
private NotificationOverlay notificationOverlay; [Resolved]
private NotificationOverlay notificationOverlay { get; set; }
private IdleTracker idleTracker; private IdleTracker idleTracker;
@ -107,8 +108,6 @@ private void load(AudioManager audioManager, NotificationOverlay notificationOve
loadNewPlayer(); loadNewPlayer();
this.notificationOverlay = notificationOverlay;
checkVolume(audioManager); checkVolume(audioManager);
} }