1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Use transparent background / original view

This commit is contained in:
M66B 2022-01-29 17:56:35 +01:00
parent e5f0151082
commit d186d2099d

View file

@ -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 */)