mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 16:27:20 +08:00
Mark StableImportManager as nullable.
This commit is contained in:
parent
c71d53a0f9
commit
775e0fbde5
@ -51,7 +51,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
protected virtual bool ShowFooter => true;
|
||||
|
||||
protected virtual bool DisplayStableImportPrompt => stableImportManager.SupportsImportFromStable;
|
||||
protected virtual bool DisplayStableImportPrompt => stableImportManager?.SupportsImportFromStable == true;
|
||||
|
||||
/// <summary>
|
||||
/// Can be null if <see cref="ShowFooter"/> is false.
|
||||
@ -85,7 +85,7 @@ namespace osu.Game.Screens.Select
|
||||
[Resolved]
|
||||
private BeatmapManager beatmaps { get; set; }
|
||||
|
||||
[Resolved]
|
||||
[Resolved(CanBeNull = true)]
|
||||
private StableImportManager stableImportManager { get; set; }
|
||||
|
||||
protected ModSelectOverlay ModSelect { get; private set; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user