mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Merge pull request #5839 from nextcloud/showAllFiles
show all files when clicking on show files
This commit is contained in:
commit
0a2e59d63e
1 changed files with 3 additions and 3 deletions
|
@ -348,7 +348,7 @@ public abstract class DrawerActivity extends ToolbarActivity
|
|||
pendingRunnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
selectNavigationItem(menuItem);
|
||||
onNavigationItemClicked(menuItem);
|
||||
}
|
||||
};
|
||||
return true;
|
||||
|
@ -394,8 +394,7 @@ public abstract class DrawerActivity extends ToolbarActivity
|
|||
}
|
||||
|
||||
|
||||
private void selectNavigationItem(final MenuItem menuItem) {
|
||||
|
||||
private void onNavigationItemClicked(final MenuItem menuItem) {
|
||||
setDrawerMenuItemChecked(menuItem.getItemId());
|
||||
|
||||
if (menuItem.getGroupId() == R.id.drawer_menu_accounts) {
|
||||
|
@ -414,6 +413,7 @@ public abstract class DrawerActivity extends ToolbarActivity
|
|||
startActivity(intent);
|
||||
} else {
|
||||
((FileDisplayActivity) this).browseToRoot();
|
||||
showFiles(false);
|
||||
EventBus.getDefault().post(new ChangeMenuEvent());
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue