public override void Start(object[] args = null) { base.Start(args); ApplyScreenSettings(); MarketView.Show(); if (!SavePrefsManager.GetBool(SavePrefsManager.DMARKET_USER_AGREEMENTS)) { ApplyState <UserAgreementsState>(); return; } var isLogged = Controller.IsLogged; if (isLogged) { ApplyState <GameInventoryState>(); } else { ApplyState <MarketLoginFormState>(); } }
public override void Start(object[] args = null) { base.Start(args); ApplyScreenSettings(); WidgetView.Show(); if (!SavePrefsManager.GetBool(SavePrefsManager.DMARKET_USER_AGREEMENTS)) { ApplyState <UserAgreementsState>(); return; } if (Controller.IsLogged) { ApplyState <BasicWidgetLoggedFormState>(); } else { ApplyState <BasicWidgetLoginFormState>(); } }