fix: Add acoount button

This commit is contained in:
xtaodada 2022-11-25 20:59:00 +08:00
parent 239db1f03b
commit 5d2ccbae60
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -496,7 +496,7 @@ public class LaunchActivity extends BasePermissionsActivity implements ActionBar
// 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);