mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Show "photos" in title
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
This commit is contained in:
parent
983a35517d
commit
fa9804d742
2 changed files with 5 additions and 0 deletions
|
@ -439,6 +439,7 @@ public abstract class DrawerActivity extends ToolbarActivity
|
|||
|
||||
private void startPhotoSearch(MenuItem menuItem) {
|
||||
SearchEvent searchEvent = new SearchEvent("image/%", SearchRemoteOperation.SearchType.PHOTO_SEARCH);
|
||||
MainApp.showOnlyFilesOnDevice(false);
|
||||
|
||||
Intent intent = new Intent(getApplicationContext(), FileDisplayActivity.class);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
|
|
|
@ -1204,6 +1204,10 @@ public class FileDisplayActivity extends FileActivity
|
|||
setDrawerMenuItemChecked(menuItemId);
|
||||
}
|
||||
|
||||
if (getListOfFilesFragment() instanceof PhotoFragment) {
|
||||
updateActionBarTitleAndHomeButtonByString(getString(R.string.drawer_item_photos));
|
||||
}
|
||||
|
||||
Log_OC.v(TAG, "onResume() end");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue