Close drawer on new fragment (folders menu)

pull/50/head
M66B 6 years ago
parent 57ceca54d7
commit da9aeaf978

@ -329,9 +329,12 @@ public class ActivityView extends ActivityBase implements FragmentManager.OnBack
int count = getSupportFragmentManager().getBackStackEntryCount();
if (count == 0)
finish();
else
else {
if (drawerLayout.isDrawerOpen(drawerList))
drawerLayout.closeDrawer(drawerList);
drawerToggle.setDrawerIndicatorEnabled(count == 1);
}
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {

Loading…
Cancel
Save