fix can't login account after logout

This commit is contained in:
luvletter2333 2023-03-04 06:58:26 +08:00
parent d0bf3ef05b
commit 1497c7ddd3
No known key found for this signature in database
GPG Key ID: 9EB7723F3A0ACF92
1 changed files with 1 additions and 1 deletions

View File

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