Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docs/pixelratio.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 it will always return the default pixel ratio
* 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.

---

Expand Down