From 0ac0610e135e376415c76050d3bab2b6db54ec6a Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Sun, 12 Mar 2017 14:31:32 +0100 Subject: [PATCH] Unset items on settings & home click --- .../java/com/owncloud/android/ui/activity/DrawerActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java b/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java index 3c943bbbb4..9e06d438f7 100644 --- a/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java @@ -329,6 +329,8 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU @Subscribe(threadMode = ThreadMode.MAIN) public void onMessageEvent(MenuItemClickEvent event) { + unsetAllDrawerMenuItems(); + switch (event.menuItem.getItemId()) { case R.id.nav_bar_files: showFiles(false);