Renamed webViewClient

This commit is contained in:
PaulStets 2018-04-15 13:44:40 +03:00
parent 8ab0e515e9
commit 8291f4415f

View file

@ -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;