1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-19 05:38:31 +00:00

Post web view visible event

This commit is contained in:
M66B 2021-02-17 08:10:41 +01:00
parent 11232d7563
commit d61da50881

View file

@ -106,7 +106,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
public void onPageCommitVisible(WebView view, String url) {
Log.i("Commit url=" + url);
if (onPageFinished != null)
onPageFinished.run();
ApplicationEx.getMainHandler().post(onPageFinished);
}
public boolean shouldOverrideUrlLoading(WebView view, String url) {