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:
Andy Scherzinger 2020-01-16 22:04:23 +01:00 committed by GitHub
commit 9bf2cbd26f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,6 +336,7 @@ public class PreviewMediaFragment extends FileFragment implements OnTouchListene
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
super.onCreateOptionsMenu(menu, inflater);
menu.removeItem(R.id.action_search);
inflater.inflate(R.menu.item_file, menu);
}