mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 16:40:53 +01:00
Fixed closing navigation menu on clicking separator
This commit is contained in:
@@ -177,6 +177,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
DrawerItem item = (DrawerItem) parent.getAdapter().getItem(position);
|
||||
switch (item.getId()) {
|
||||
case 0: // separator
|
||||
return;
|
||||
case -1:
|
||||
onMenuFolders((long) item.getData());
|
||||
break;
|
||||
@@ -1124,6 +1126,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
private Object data;
|
||||
|
||||
DrawerItem(int layout) {
|
||||
this.id = 0;
|
||||
this.layout = layout;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user