1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 08:22:56 +08:00

Fix remaining cases

This commit is contained in:
recapitalverb 2020-02-14 20:27:21 +07:00
parent c753cb46c5
commit a7c2fd078f
2 changed files with 7 additions and 4 deletions

View File

@ -150,12 +150,12 @@ namespace osu.Game.Beatmaps.Drawables
};
}
private OsuColour colours;
[Resolved]
private OsuColour colours { get; set; }
[BackgroundDependencyLoader]
private void load(OsuColour colours)
private void load()
{
this.colours = colours;
background.Colour = colours.Gray3;
}

View File

@ -9,6 +9,7 @@ using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions.ExceptionExtensions;
using osu.Framework.Graphics;
@ -21,7 +22,9 @@ namespace osu.Game.Online.API
{
public class APIAccess : Component, IAPIProvider
{
private readonly OsuConfigManager config;
[Resolved]
private OsuConfigManager config { get; set; }
private readonly OAuth authentication;
public string Endpoint => @"https://osu.ppy.sh";