From b0bf8bedd411e3fe63e75e5a2008aff8a5ff6d8e Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 21 Feb 2021 23:21:06 +0100 Subject: [PATCH] Set page loaded fallback to 1500 milliseconds --- app/src/main/java/eu/faircode/email/WebViewEx.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/WebViewEx.java b/app/src/main/java/eu/faircode/email/WebViewEx.java index 025d489646..73d1a0a76a 100644 --- a/app/src/main/java/eu/faircode/email/WebViewEx.java +++ b/app/src/main/java/eu/faircode/email/WebViewEx.java @@ -159,7 +159,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC public void run() { try { if (onPageLoaded != null) { - Log.e("Page loaded fallback"); + Log.w("Page loaded fallback"); onPageLoaded.run(); onPageLoaded = null; } @@ -167,7 +167,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC Log.e(ex); } } - }, 2500L); + }, 1500L); } void setImages(boolean show_images, boolean inline) {