Skip to content

Commit 3cbe8fe

Browse files
committed
fix
Signed-off-by: alperozturk <[email protected]>
1 parent 43c932f commit 3cbe8fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ private void handleBottomNavigationViewClicks() {
272272
EventBus.getDefault().post(new ChangeMenuEvent());
273273
} else if (menuItemId == R.id.nav_favorites) {
274274
handleSearchEvents(new SearchEvent("", SearchRemoteOperation.SearchType.FAVORITE_SEARCH), menuItemId);
275+
setupToolbar();
275276
} else if (menuItemId == R.id.nav_assistant && !(this instanceof ComposeActivity)) {
276277
startComposeActivity(ComposeDestination.AssistantScreen, R.string.assistant_screen_top_bar_title);
277278
} else if (menuItemId == R.id.nav_gallery) {
@@ -574,6 +575,7 @@ private void onNavigationItemClicked(final MenuItem menuItem) {
574575
} else if (itemId == R.id.nav_favorites) {
575576
handleSearchEvents(new SearchEvent("", SearchRemoteOperation.SearchType.FAVORITE_SEARCH),
576577
menuItem.getItemId());
578+
setupToolbar();
577579
} else if (itemId == R.id.nav_gallery) {
578580
startPhotoSearch(menuItem.getItemId());
579581
} else if (itemId == R.id.nav_on_device) {

0 commit comments

Comments
 (0)