Fixed missing assingment

This commit is contained in:
PaulStets 2018-05-22 09:17:21 +03:00
parent c896a1b22c
commit 9c7a905c0d

View file

@ -33,7 +33,7 @@ public class WikipediaWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
WikiArticleHelper.normalizeFileUrl(url);
url = WikiArticleHelper.normalizeFileUrl(url);
if ((url.contains(WIKI_DOMAIN) || url.contains(WIKI_DOMAIN_COM)) && article != null) {
wikiArticleHelper.showWikiArticle(article.getLocation(), url);
} else if (url.startsWith(PAGE_PREFIX_HTTP) || url.startsWith(PAGE_PREFIX_HTTPS)) {