From d186d2099ddbc9c102666db3dbc8a6c15b6d5527 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 29 Jan 2022 17:56:35 +0100 Subject: [PATCH] Use transparent background / original view --- app/src/main/java/eu/faircode/email/WebViewEx.java | 3 +-- 1 file changed, 1 insertion(+), 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 18004536af..64bf9f16e0 100644 --- a/app/src/main/java/eu/faircode/email/WebViewEx.java +++ b/app/src/main/java/eu/faircode/email/WebViewEx.java @@ -120,8 +120,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC boolean dark = Helper.isDarkTheme(context); if (WebViewEx.isFeatureSupported(WebViewFeature.FORCE_DARK)) WebSettingsCompat.setForceDark(settings, dark && !force_light ? FORCE_DARK_ON : FORCE_DARK_OFF); - if (!dark) - setBackgroundColor(ColorUtils.setAlphaComponent(Color.WHITE, 127)); + setBackgroundColor(Color.TRANSPARENT); float fontSize = 16f /* Default */ * message_zoom / 100f; if (zoom == 0 /* small */)