fix: add account

This commit is contained in:
Next Alone 2022-07-07 07:20:18 +08:00 committed by luvletter2333
parent 5f9c66e5be
commit 8f3d631d4f
No known key found for this signature in database
GPG Key ID: A26A8880836E1978
1 changed files with 3 additions and 0 deletions

View File

@ -579,6 +579,9 @@ public class LaunchActivity extends BasePermissionsActivity implements ActionBar
// if (!UserConfig.hasPremiumOnAccounts()) {
// freeAccounts -= (UserConfig.MAX_ACCOUNT_COUNT - UserConfig.MAX_ACCOUNT_DEFAULT_COUNT);
// }
if (freeAccount > 0) {
presentFragment(new LoginActivity(freeAccount));
}
drawerLayoutContainer.closeDrawer(false);
} else if (view instanceof DrawerActionCheckCell) {
int id = drawerLayoutAdapter.getId(position);