mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
aa5b707ea7
commit
b73b66411b
|
@ -169,7 +169,7 @@ public class ActivityAMP extends ActivityBase {
|
|||
if (WebViewEx.isFeatureSupported(WebViewFeature.FORCE_DARK))
|
||||
WebSettingsCompat.setForceDark(settings, dark ? FORCE_DARK_ON : FORCE_DARK_OFF);
|
||||
} else
|
||||
settings.setAlgorithmicDarkeningAllowed(dark && !force_light);
|
||||
settings.setAlgorithmicDarkeningAllowed(dark);
|
||||
}
|
||||
|
||||
private void load() {
|
||||
|
|
|
@ -90,7 +90,7 @@ public class FragmentDialogOpenFull extends FragmentDialogBase {
|
|||
if (WebViewEx.isFeatureSupported(WebViewFeature.FORCE_DARK))
|
||||
WebSettingsCompat.setForceDark(settings, dark ? FORCE_DARK_ON : FORCE_DARK_OFF);
|
||||
} else
|
||||
settings.setAlgorithmicDarkeningAllowed(dark && !force_light);
|
||||
settings.setAlgorithmicDarkeningAllowed(dark);
|
||||
|
||||
settings.setLoadsImagesAutomatically(true);
|
||||
settings.setBlockNetworkLoads(false);
|
||||
|
|
Loading…
Reference in New Issue