Added boolean parameter
This commit is contained in:
parent
a1eb53465b
commit
bc90f292df
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue