|
@@ -331,14 +331,7 @@ namespace GFGGame
|
|
GameGlobal.zoneScene.GetComponent<AccountInfoComponent>()?.Clear();
|
|
GameGlobal.zoneScene.GetComponent<AccountInfoComponent>()?.Clear();
|
|
if (logout)
|
|
if (logout)
|
|
{
|
|
{
|
|
- if (PlayerPrefs.HasKey(GameConst.PASSWORD_LAST_LOGIN_KEY))
|
|
|
|
- {
|
|
|
|
- PlayerPrefs.DeleteKey(GameConst.PASSWORD_LAST_LOGIN_KEY);
|
|
|
|
- }
|
|
|
|
- if (!fromSdkLogoutCallback)
|
|
|
|
- {
|
|
|
|
- QDManager.Logout();
|
|
|
|
- }
|
|
|
|
|
|
+ QDManager.Logout(fromSdkLogoutCallback);
|
|
}
|
|
}
|
|
ViewManager.Hide<GuideView>();
|
|
ViewManager.Hide<GuideView>();
|
|
ViewManager.Show<LoginView>(null, true);
|
|
ViewManager.Show<LoginView>(null, true);
|