This commit is contained in:
Victor Shcherb 2015-11-07 20:51:00 +01:00
parent 997d56d8dc
commit 0c44a32df6

View file

@ -89,14 +89,13 @@ public class HelpArticleDialogFragment extends DialogFragment {
if (url.startsWith("http://osmand.net/features?id=")) {
String id = url.substring("http://osmand.net/features?id=".length());
dismiss();
instantiateWithAsset(id, getString(R.string.shared_string_help)).show(
instantiateWithAsset("feature_articles/"+id+".html", getString(R.string.shared_string_help)).show(
getActivity().getSupportFragmentManager(), "DIALOG_HELP_ARTICLE");
}
return false;
}
});
} else if (url != null) {
webView.getSettings().setLoadWithOverviewMode(true);
webView.getSettings().setUseWideViewPort(true);
if (savedInstanceState != null) {