Merge pull request #5258 from osmandapp/PaulsBranch
Open on map from saved articles fix
This commit is contained in:
commit
a319b45204
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