Fix not showing options menu for search results

This commit is contained in:
ByteHamster 2019-12-31 14:34:38 +01:00
parent 912d2cecee
commit 4914fee2ee
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public class SearchFragment extends ListFragment {
} else { } else {
if (comp.getClass() == FeedItem.class) { if (comp.getClass() == FeedItem.class) {
FeedItem item = (FeedItem) comp; FeedItem item = (FeedItem) comp;
((MainActivity) getActivity()).loadChildFragment(ItemFragment.newInstance(item.getId())); ((MainActivity) getActivity()).loadChildFragment(ItemPagerFragment.newInstance(item.getId()));
} }
} }
} }