Open on map from saved articles fix

This commit is contained in:
PaulStets 2018-04-20 09:37:06 +03:00
parent 7bfe19f4d3
commit 3013ece730

View file

@ -45,7 +45,7 @@ public class SavedArticlesTabFragment extends BaseOsmAndFragment implements Trav
adapter.setListener(new SavedArticlesRvAdapter.Listener() {
@Override
public void openArticle(TravelArticle article) {
FragmentManager fm = getFragmentManager();
FragmentManager fm = getActivity().getSupportFragmentManager();
if (fm != null) {
WikivoyageArticleDialogFragment.showInstance(app, fm, article.getCityId(), article.getLang());
}