mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-25 15:10:47 +01:00
Allow collapsing part of main navigation menu
This commit is contained in:
@@ -85,8 +85,9 @@ import javax.crypto.spec.PBEKeySpec;
|
||||
public class ActivitySetup extends ActivityBilling implements FragmentManager.OnBackStackChangedListener {
|
||||
private View view;
|
||||
private DrawerLayout drawerLayout;
|
||||
private ListView drawerList;
|
||||
private ActionBarDrawerToggle drawerToggle;
|
||||
private ListView drawerList;
|
||||
private DrawerAdapter drawerArray;
|
||||
|
||||
private boolean hasAccount;
|
||||
private String password;
|
||||
@@ -132,7 +133,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
|
||||
|
||||
drawerList = findViewById(R.id.drawer_list);
|
||||
|
||||
final DrawerAdapter drawerArray = new DrawerAdapter(this);
|
||||
drawerArray = new DrawerAdapter(this, false);
|
||||
drawerList.setAdapter(drawerArray);
|
||||
|
||||
drawerList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user