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:
parent
e5f0151082
commit
d186d2099d
1 changed files with 1 additions and 2 deletions
|
@ -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 */)
|
||||
|
|
Loading…
Reference in a new issue