Fix
This commit is contained in:
parent
997d56d8dc
commit
0c44a32df6
1 changed files with 1 additions and 2 deletions
|
@ -89,14 +89,13 @@ public class HelpArticleDialogFragment extends DialogFragment {
|
||||||
if (url.startsWith("http://osmand.net/features?id=")) {
|
if (url.startsWith("http://osmand.net/features?id=")) {
|
||||||
String id = url.substring("http://osmand.net/features?id=".length());
|
String id = url.substring("http://osmand.net/features?id=".length());
|
||||||
dismiss();
|
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");
|
getActivity().getSupportFragmentManager(), "DIALOG_HELP_ARTICLE");
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (url != null) {
|
} else if (url != null) {
|
||||||
|
|
||||||
webView.getSettings().setLoadWithOverviewMode(true);
|
webView.getSettings().setLoadWithOverviewMode(true);
|
||||||
webView.getSettings().setUseWideViewPort(true);
|
webView.getSettings().setUseWideViewPort(true);
|
||||||
if (savedInstanceState != null) {
|
if (savedInstanceState != null) {
|
||||||
|
|
Loading…
Reference in a new issue