fix: Add acoount button
This commit is contained in:
parent
239db1f03b
commit
5d2ccbae60
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user