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

View File

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