1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Set page loaded fallback to 1500 milliseconds

This commit is contained in:
M66B 2021-02-21 23:21:06 +01:00
parent 1d82ba058b
commit b0bf8bedd4

View file

@ -159,7 +159,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
public void run() { public void run() {
try { try {
if (onPageLoaded != null) { if (onPageLoaded != null) {
Log.e("Page loaded fallback"); Log.w("Page loaded fallback");
onPageLoaded.run(); onPageLoaded.run();
onPageLoaded = null; onPageLoaded = null;
} }
@ -167,7 +167,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
Log.e(ex); Log.e(ex);
} }
} }
}, 2500L); }, 1500L);
} }
void setImages(boolean show_images, boolean inline) { void setImages(boolean show_images, boolean inline) {