Fixes click on bio when a link does not start with http or https

This commit is contained in:
tom79 2017-08-16 10:32:10 +02:00
parent 7b39a11eeb
commit 2b65bff6c3
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ public class WebviewActivity extends AppCompatActivity {
}
}
});
if( !url.startsWith("http://") && !url.startsWith("https://"))
url = "http://" + url;
webView.loadUrl(url);
}