fix can't login account after logout
This commit is contained in:
parent
d0bf3ef05b
commit
1497c7ddd3
@ -514,7 +514,7 @@ public class LaunchActivity extends BasePermissionsActivity implements INavigati
|
|||||||
// if (!UserConfig.hasPremiumOnAccounts()) {
|
// if (!UserConfig.hasPremiumOnAccounts()) {
|
||||||
// freeAccounts -= (UserConfig.MAX_ACCOUNT_COUNT - UserConfig.MAX_ACCOUNT_DEFAULT_COUNT);
|
// freeAccounts -= (UserConfig.MAX_ACCOUNT_COUNT - UserConfig.MAX_ACCOUNT_DEFAULT_COUNT);
|
||||||
// }
|
// }
|
||||||
if (freeAccount > 0) {
|
if (freeAccount >= 0) {
|
||||||
presentFragment(new LoginActivity(freeAccount));
|
presentFragment(new LoginActivity(freeAccount));
|
||||||
}
|
}
|
||||||
drawerLayoutContainer.closeDrawer(false);
|
drawerLayoutContainer.closeDrawer(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user