mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/8735 - Adjust fontInflation engine setting when toggling useAutoSize
This commit is contained in:
parent
fc7b0606c7
commit
fbbc270ddf
@ -67,6 +67,7 @@ class AccessibilityFragment : PreferenceFragmentCompat() {
|
|||||||
// Save the new setting value
|
// Save the new setting value
|
||||||
settings.shouldUseAutoSize = useAutoSize
|
settings.shouldUseAutoSize = useAutoSize
|
||||||
components.core.engine.settings.automaticFontSizeAdjustment = 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 using manual sizing, update the engine settings with the local saved setting
|
||||||
if (!useAutoSize) {
|
if (!useAutoSize) {
|
||||||
|
Loading…
Reference in New Issue
Block a user