sfbrigade / intentional-walk-client

3 stars 2 forks source link

Fix Spanish My Goal text cutting off #204

Open ginaCFSJ opened 4 months ago

ginaCFSJ commented 4 months ago

iWalk Version 3.0.4 (49) iPhone 11, iOS Version 17.4.1 Screenshot 2024-05-22 at 5 39 41 PM

francisli commented 4 months ago

Ok, it looks like this is happening on your iPhone because you've increased the default text size in the OS settings.

A quick fix may be to disable dynamic text size adjustments in our code, so that it ignores that setting.

https://stackoverflow.com/questions/35046443/supporting-dynamic-type-in-react-native-ios

ginaCFSJ commented 4 months ago

Was it fixed in the code? I went to my iphone setting and adjusted default text sizing smaller, it got fixed and looks ok now. My default size wasn't increased it was in the middle range ( by default).

francisli commented 2 months ago

This answer shows how to disable it on a single piece of text: https://stackoverflow.com/a/35046629

francisli commented 2 months ago

In App.js, lines 18-26, we override the render function once to set the font, I wonder if we can do the same thing to apply the disabling of the dynamic font scaling.