Merge pull request #5512 from osmandapp/WikivoyageSharingLinks
WikivoyageSharingLinks fixes
This commit is contained in:
commit
11a6843476
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ public class WikivoyageExploreActivity extends TabActivity implements DownloadEv
|
||||||
String selectedLang = data.getQueryParameter("lang");
|
String selectedLang = data.getQueryParameter("lang");
|
||||||
if (!Algorithms.isEmpty(title) && !Algorithms.isEmpty(selectedLang)) {
|
if (!Algorithms.isEmpty(title) && !Algorithms.isEmpty(selectedLang)) {
|
||||||
long articleId = app.getTravelDbHelper().getArticleId(title, selectedLang);
|
long articleId = app.getTravelDbHelper().getArticleId(title, selectedLang);
|
||||||
if (articleId != -1) {
|
if (articleId != 0) {
|
||||||
WikivoyageArticleDialogFragment.showInstance(app, getSupportFragmentManager(), articleId, selectedLang);
|
WikivoyageArticleDialogFragment.showInstance(app, getSupportFragmentManager(), articleId, selectedLang);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue