mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Merge pull request #5214 from nextcloud/fix/search-in-video-preview
Removed search icon in toolbar during media/video preview
This commit is contained in:
commit
9bf2cbd26f
1 changed files with 1 additions and 0 deletions
|
@ -336,6 +336,7 @@ public class PreviewMediaFragment extends FileFragment implements OnTouchListene
|
||||||
@Override
|
@Override
|
||||||
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
||||||
super.onCreateOptionsMenu(menu, inflater);
|
super.onCreateOptionsMenu(menu, inflater);
|
||||||
|
menu.removeItem(R.id.action_search);
|
||||||
inflater.inflate(R.menu.item_file, menu);
|
inflater.inflate(R.menu.item_file, menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue