mirror of https://github.com/ppy/osu
Fix DummyAPIAccess being potentially incorrect
This commit is contained in:
parent
3bc4685a46
commit
6ecea0e4c1
|
@ -19,7 +19,7 @@ public class DummyAPIAccess : Component, IAPIProvider
|
||||||
|
|
||||||
public Bindable<UserActivity> Activity { get; } = new Bindable<UserActivity>();
|
public Bindable<UserActivity> Activity { get; } = new Bindable<UserActivity>();
|
||||||
|
|
||||||
public bool IsLoggedIn => true;
|
public bool IsLoggedIn => State == APIState.Online;
|
||||||
|
|
||||||
public string ProvidedUsername => LocalUser.Value.Username;
|
public string ProvidedUsername => LocalUser.Value.Username;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue