Updated AndroidX

This commit is contained in:
M66B
2022-11-09 22:28:59 +01:00
parent a6f39a1fac
commit 39eb835d73
6 changed files with 12 additions and 12 deletions

View File

@@ -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);