From c898fa0b4d714936895854b5f1ab5bb41e606a28 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 23 Mar 2020 21:24:33 +0100 Subject: [PATCH 1/2] Update to pixelratio.md - getFontScale() iOS does return user value using getFontScale --- docs/pixelratio.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pixelratio.md b/docs/pixelratio.md index a0423252e30..3d1968243a0 100644 --- a/docs/pixelratio.md +++ b/docs/pixelratio.md @@ -134,7 +134,7 @@ static getFontScale(): number Returns the scaling factor for font sizes. This is the ratio that is used to calculate the absolute font size, so any elements that heavily depend on that should use this to do calculations. * on Android value reflects the user preference set in **Settings > Display > Font size** -* on iOS it will always return the default pixel ratio +* on iOS value reflects the user preference set in **Settings > Accessibilty > Display & Test Size > Larger Text** If a font scale is not set, this returns the device pixel ratio. From 720eac28e488948d0414db1021cc0959356fec19 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 26 Mar 2020 23:07:39 +0100 Subject: [PATCH 2/2] Update to pixelratio.md - getFontScale() iOS does return user value using getFontScale --- docs/pixelratio.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pixelratio.md b/docs/pixelratio.md index 3d1968243a0..c3d066a18bd 100644 --- a/docs/pixelratio.md +++ b/docs/pixelratio.md @@ -134,9 +134,9 @@ static getFontScale(): number Returns the scaling factor for font sizes. This is the ratio that is used to calculate the absolute font size, so any elements that heavily depend on that should use this to do calculations. * on Android value reflects the user preference set in **Settings > Display > Font size** -* on iOS value reflects the user preference set in **Settings > Accessibilty > Display & Test Size > Larger Text** +* on iOS value reflects the user preference set in **Settings > Display & Brightness > Text Size**, value can also be updated in **Settings > Accessibilty > Display & Test Size > Larger Text** -If a font scale is not set, this returns the device pixel ratio. +If a font scale is not set, this returns the device pixel ratio. ---