Merge pull request #3712 from ByteHamster/fix-options-menu-search-results

Fix not showing options menu for search results
This commit is contained in:
H. Lehmann 2019-12-31 16:25:09 +01:00 committed by GitHub
commit 5fc6877a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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