diff --git a/app/src/org/commcare/activities/HomeNavDrawerController.java b/app/src/org/commcare/activities/HomeNavDrawerController.java index 148e186f8b..18d5aaf75e 100644 --- a/app/src/org/commcare/activities/HomeNavDrawerController.java +++ b/app/src/org/commcare/activities/HomeNavDrawerController.java @@ -64,10 +64,11 @@ protected void setupNavDrawer(Bundle savedInstanceState) { refreshItems(); ActionBar actionBar = activity.getSupportActionBar(); + actionBar.setHomeAsUpIndicator(R.drawable.ic_menu_bar); actionBar.setHomeButtonEnabled(true); - actionBar.setDisplayHomeAsUpEnabled(false); + actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setDisplayUseLogoEnabled(false); - actionBar.setIcon(R.drawable.ic_menu_bar); + if (savedInstanceState != null && savedInstanceState.getBoolean(KEY_DRAWER_WAS_OPEN)) { @@ -252,4 +253,4 @@ private void openDrawer() { private void closeDrawer() { drawerLayout.closeDrawer(navDrawerList); } -} \ No newline at end of file +}