Add a bindable Enabled flag to NotificationManager

Also better handles delays before notifications are displayed.
This commit is contained in:
Dean Herbert
2017-12-25 18:52:09 +09:00
parent 45e4c09cb8
commit 71a94d6b44
13 changed files with 89 additions and 29 deletions

View File

@ -110,7 +110,7 @@ namespace osu.Desktop.Overlays
// only show a notification if we've previously saved a version to the config file (ie. not the first run).
if (!string.IsNullOrEmpty(lastVersion))
Scheduler.AddDelayed(() => notificationOverlay.Post(new UpdateCompleteNotification(version)), 5000);
notificationOverlay.Post(new UpdateCompleteNotification(version));
}
}