mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:47:25 +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
|
||||
{
|
||||
private APIAccess api;
|
||||
|
||||
protected override string Header => "Sign In";
|
||||
|
||||
[BackgroundDependencyLoader(permitNulls: true)]
|
||||
private void load(APIAccess api)
|
||||
{
|
||||
api?.Register(this);
|
||||
this.api = api;
|
||||
}
|
||||
|
||||
public void APIStateChanged(APIAccess api, APIState state)
|
||||
|
Loading…
Reference in New Issue
Block a user