2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/2762 - Prevents crash when a device has a font scale other than 1.0

This commit is contained in:
Jeff Boek 2019-05-22 18:03:34 -07:00
parent cca76e8a66
commit de79d482e2

View File

@ -75,7 +75,7 @@ class Core(private val context: Context) {
trackingProtectionPolicy = createTrackingProtectionPolicy(),
historyTrackingDelegate = HistoryDelegate(historyStorage),
preferredColorScheme = getPreferredColorScheme(),
automaticFontSizeAdjustment = Settings.getInstance(context).fontSizeFactor == 1f
automaticFontSizeAdjustment = false
)
GeckoEngine(context, defaultSettings, runtime)