Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Libraries/Utilities/PixelRatio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down