mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
and the last one...
This commit is contained in:
parent
0d29d949c5
commit
06275e0f79
1 changed files with 2 additions and 6 deletions
|
@ -436,12 +436,8 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
|
|||
menuItem.setChecked(true);
|
||||
mCheckedMenuItem = menuItem.getItemId();
|
||||
|
||||
Intent recentlyAddedIntent = new Intent(getBaseContext(), FileDisplayActivity.class);
|
||||
recentlyAddedIntent.putExtra(OCFileListFragment.SEARCH_EVENT, Parcels.wrap(new SearchEvent("%",
|
||||
SearchOperation.SearchType.CONTENT_TYPE_SEARCH, SearchEvent.UnsetType.UNSET_BOTTOM_NAV_BAR)));
|
||||
recentlyAddedIntent.putExtra(FileDisplayActivity.DRAWER_MENU_ID, menuItem.getItemId());
|
||||
recentlyAddedIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
startActivity(recentlyAddedIntent);
|
||||
switchToSearchFragment(new SearchEvent("%",SearchOperation.SearchType.CONTENT_TYPE_SEARCH,
|
||||
SearchEvent.UnsetType.UNSET_BOTTOM_NAV_BAR), menuItem);
|
||||
break;
|
||||
case R.id.nav_recently_modified:
|
||||
menuItem.setChecked(true);
|
||||
|
|
Loading…
Reference in a new issue