mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +08:00
Removed unnecessary api reference
This commit is contained in:
parent
acc50e3473
commit
c0980437a6
@ -17,15 +17,12 @@ namespace osu.Game.Overlays.Options.General
|
|||||||
{
|
{
|
||||||
public class LoginOptions : OptionsSubsection, IOnlineComponent
|
public class LoginOptions : OptionsSubsection, IOnlineComponent
|
||||||
{
|
{
|
||||||
private APIAccess api;
|
|
||||||
|
|
||||||
protected override string Header => "Sign In";
|
protected override string Header => "Sign In";
|
||||||
|
|
||||||
[BackgroundDependencyLoader(permitNulls: true)]
|
[BackgroundDependencyLoader(permitNulls: true)]
|
||||||
private void load(APIAccess api)
|
private void load(APIAccess api)
|
||||||
{
|
{
|
||||||
api?.Register(this);
|
api?.Register(this);
|
||||||
this.api = api;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void APIStateChanged(APIAccess api, APIState state)
|
public void APIStateChanged(APIAccess api, APIState state)
|
||||||
|
Loading…
Reference in New Issue
Block a user