[fenix] For https://github.com/mozilla-mobile/fenix/issues/8735 - Adjust fontInflation engine setting when toggling useAutoSize

pull/600/head
ekager 4 years ago committed by Mihai Adrian
parent fc7b0606c7
commit fbbc270ddf

@ -67,6 +67,7 @@ class AccessibilityFragment : PreferenceFragmentCompat() {
// Save the new setting value
settings.shouldUseAutoSize = useAutoSize
components.core.engine.settings.automaticFontSizeAdjustment = useAutoSize
components.core.engine.settings.fontInflationEnabled = useAutoSize
// If using manual sizing, update the engine settings with the local saved setting
if (!useAutoSize) {

Loading…
Cancel
Save