From 7b4ed605d2c386e3472ae8e124c5033d696420ea Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Thu, 26 Mar 2020 23:06:07 +0100 Subject: [PATCH] Update PixelRatio getFontScale method description --- Libraries/Utilities/PixelRatio.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/Utilities/PixelRatio.js b/Libraries/Utilities/PixelRatio.js index 99521348a578..06813b3a6d49 100644 --- a/Libraries/Utilities/PixelRatio.js +++ b/Libraries/Utilities/PixelRatio.js @@ -92,9 +92,9 @@ class PixelRatio { * * If a font scale is not set, this returns the device pixel ratio. * - * Currently this is only implemented on Android and reflects the user preference set in - * Settings > Display > Font size, on iOS it will always return the default pixel ratio. - * @platform android + * This reflects the user preference set in: + * - Settings > Display > Font size on Android, + * - Settings > Display & Brightness > Text Size on iOS. */ static getFontScale(): number { return Dimensions.get('window').fontScale || PixelRatio.get();