mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Updated AndroidX
This commit is contained in:
@@ -85,7 +85,7 @@ public class FragmentDialogOpenFull extends FragmentDialogBase {
|
||||
|
||||
boolean dark = (Helper.isDarkTheme(context) && !force_light);
|
||||
boolean canDarken = WebViewEx.isFeatureSupported(context, WebViewFeature.ALGORITHMIC_DARKENING);
|
||||
if (canDarken && Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
|
||||
if (canDarken)
|
||||
WebSettingsCompat.setAlgorithmicDarkeningAllowed(settings, dark);
|
||||
|
||||
settings.setLoadsImagesAutomatically(true);
|
||||
|
||||
Reference in New Issue
Block a user