Fix DummyAPIAccess being potentially incorrect

This commit is contained in:
iiSaLMaN 2019-11-06 18:15:49 +03:00
parent 3bc4685a46
commit 6ecea0e4c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;