Removed search icon in toolbar during media/video preview

This commit is contained in:
Kilian Périsset 2020-01-16 11:25:14 +01:00
parent 3753a184b6
commit dc3c030e94
No known key found for this signature in database
GPG key ID: 82E3444C03B10ECF

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);
}