From bc90f292df39d618cc875d8abdcdf1822c9806f1 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Tue, 1 May 2018 14:48:02 +0300 Subject: [PATCH] Added boolean parameter --- .../wikivoyage/article/WikivoyageArticleWikiLinkFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleWikiLinkFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleWikiLinkFragment.java index 2d475b04c2..1d30bdc1af 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleWikiLinkFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/article/WikivoyageArticleWikiLinkFragment.java @@ -20,6 +20,8 @@ import net.osmand.plus.base.bottomsheetmenu.simpleitems.TitleItem; import net.osmand.plus.download.DownloadActivity; import net.osmand.plus.mapcontextmenu.WikipediaDialogFragment; +import static net.osmand.plus.download.ui.SearchDialogFragment.SHOW_WIKI_KEY; + public class WikivoyageArticleWikiLinkFragment extends MenuBottomSheetDialogFragment { public static final String TAG = WikivoyageArticleWikiLinkFragment.class.getSimpleName(); @@ -76,6 +78,7 @@ public class WikivoyageArticleWikiLinkFragment extends MenuBottomSheetDialogFrag .getDownloadActivity()); newIntent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); newIntent.putExtra(DownloadActivity.REGION_TO_SEARCH, wikiRegion); + newIntent.putExtra(SHOW_WIKI_KEY, true); mapActivity.startActivity(newIntent); dismiss(); }