mirror of https://github.com/NekoX-Dev/NekoX.git
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()) {
|
||||
// freeAccounts -= (UserConfig.MAX_ACCOUNT_COUNT - UserConfig.MAX_ACCOUNT_DEFAULT_COUNT);
|
||||
// }
|
||||
if (freeAccount > 0) {
|
||||
if (freeAccount >= 0) {
|
||||
presentFragment(new LoginActivity(freeAccount));
|
||||
}
|
||||
drawerLayoutContainer.closeDrawer(false);
|
||||
|
|
Loading…
Reference in New Issue