diff --git a/vector/src/main/java/im/vector/app/core/utils/SystemSettingsProvider.kt b/vector/src/main/java/im/vector/app/core/utils/SystemSettingsProvider.kt index 1a0b73fd21..14b67aaa09 100644 --- a/vector/src/main/java/im/vector/app/core/utils/SystemSettingsProvider.kt +++ b/vector/src/main/java/im/vector/app/core/utils/SystemSettingsProvider.kt @@ -36,6 +36,6 @@ class AndroidSystemSettingsProvider @Inject constructor( ) : SystemSettingsProvider { override fun getSystemFontScale(): Float { - return Settings.System.getFloat(context.contentResolver, Settings.System.FONT_SCALE) + return Settings.System.getFloat(context.contentResolver, Settings.System.FONT_SCALE, 1f) } }