Change to Resolved attribute

This commit is contained in:
Craftplacer 2020-05-08 00:35:27 +02:00
parent 72b6bb25a5
commit 477bd7fa61
1 changed files with 7 additions and 1 deletions

View File

@ -11,10 +11,16 @@ namespace osu.Game.Overlays.Settings.Sections.General
{
public class UpdateSettings : SettingsSubsection
{
[Resolved(CanBeNull = true)]
private OsuGameBase game { get; set; }
[Resolved(CanBeNull = true)]
private UpdateManager updateManager { get; set; }
protected override string Header => "Updates";
[BackgroundDependencyLoader(true)]
private void load(Storage storage, OsuConfigManager config, OsuGameBase game, UpdateManager updateManager)
private void load(Storage storage, OsuConfigManager config)
{
Add(new SettingsEnumDropdown<ReleaseStream>
{