Merge pull request #3712 from ByteHamster/fix-options-menu-search-results
Fix not showing options menu for search results
This commit is contained in:
commit
5fc6877a87
|
@ -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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue