Open on map from saved articles fix
This commit is contained in:
parent
7bfe19f4d3
commit
3013ece730
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class SavedArticlesTabFragment extends BaseOsmAndFragment implements Trav
|
||||||
adapter.setListener(new SavedArticlesRvAdapter.Listener() {
|
adapter.setListener(new SavedArticlesRvAdapter.Listener() {
|
||||||
@Override
|
@Override
|
||||||
public void openArticle(TravelArticle article) {
|
public void openArticle(TravelArticle article) {
|
||||||
FragmentManager fm = getFragmentManager();
|
FragmentManager fm = getActivity().getSupportFragmentManager();
|
||||||
if (fm != null) {
|
if (fm != null) {
|
||||||
WikivoyageArticleDialogFragment.showInstance(app, fm, article.getCityId(), article.getLang());
|
WikivoyageArticleDialogFragment.showInstance(app, fm, article.getCityId(), article.getLang());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue