mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix unresolvable dependency in settings test scene
This commit is contained in:
@ -23,7 +23,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
|
||||
private SettingsButton checkForUpdatesButton;
|
||||
|
||||
[Resolved]
|
||||
[Resolved(CanBeNull = true)]
|
||||
private NotificationOverlay notifications { get; set; }
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
@ -47,7 +47,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
{
|
||||
if (!t.Result)
|
||||
{
|
||||
notifications.Post(new SimpleNotification
|
||||
notifications?.Post(new SimpleNotification
|
||||
{
|
||||
Text = $"You are running the latest release ({game.Version})",
|
||||
Icon = FontAwesome.Solid.CheckCircle,
|
||||
|
Reference in New Issue
Block a user