mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-30 10:14:04 +00:00
fix: add account
This commit is contained in:
parent
5f9c66e5be
commit
8f3d631d4f
|
@ -579,6 +579,9 @@ 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) {
|
||||||
|
presentFragment(new LoginActivity(freeAccount));
|
||||||
|
}
|
||||||
drawerLayoutContainer.closeDrawer(false);
|
drawerLayoutContainer.closeDrawer(false);
|
||||||
} else if (view instanceof DrawerActionCheckCell) {
|
} else if (view instanceof DrawerActionCheckCell) {
|
||||||
int id = drawerLayoutAdapter.getId(position);
|
int id = drawerLayoutAdapter.getId(position);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user