Renamed webViewClient
This commit is contained in:
parent
8ab0e515e9
commit
8291f4415f
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ import java.net.URLDecoder;
|
||||||
* Custom WebView client to handle the internal links.
|
* Custom WebView client to handle the internal links.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CustomWebViewClient extends WebViewClient {
|
public class WikivoyageWebViewClient extends WebViewClient {
|
||||||
|
|
||||||
private OsmandApplication app;
|
private OsmandApplication app;
|
||||||
private FragmentManager mFragmentManager;
|
private FragmentManager mFragmentManager;
|
||||||
|
@ -31,7 +31,7 @@ public class CustomWebViewClient extends WebViewClient {
|
||||||
private static final String PAGE_PREFIX = "https://";
|
private static final String PAGE_PREFIX = "https://";
|
||||||
private static final String WEB_DOMAIN = ".wikivoyage.com/wiki/";
|
private static final String WEB_DOMAIN = ".wikivoyage.com/wiki/";
|
||||||
|
|
||||||
public CustomWebViewClient(FragmentActivity context, FragmentManager fm) {
|
public WikivoyageWebViewClient(FragmentActivity context, FragmentManager fm) {
|
||||||
app = (OsmandApplication) context.getApplication();
|
app = (OsmandApplication) context.getApplication();
|
||||||
mFragmentManager = fm;
|
mFragmentManager = fm;
|
||||||
mContext = context;
|
mContext = context;
|
Loading…
Reference in a new issue