You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this component to change my app's theme from light to dark.
The fontStyle.color prop works on first render, but when I change tintColor prop (light and dark have slightly different tints) the fontStyle.color style is lost and tintColor is used for the font color instead.
If I keep tintColor the same and only change fontStyle.color (when switching from light to dark), then the font color is correct. It's only when tintColor changes to a different value does the error happen.
Using version 2.4.0.
The text was updated successfully, but these errors were encountered:
padge
changed the title
Change appearance and style resets
Change tintColor and fontStyle.color is lost
Nov 30, 2022
I'm trying to use this component to change my app's theme from light to dark.
The
fontStyle.color
prop works on first render, but when I changetintColor
prop (light and dark have slightly different tints) thefontStyle.color
style is lost andtintColor
is used for the font color instead.If I keep
tintColor
the same and only changefontStyle.color
(when switching from light to dark), then the font color is correct. It's only whentintColor
changes to a different value does the error happen.Using version
2.4.0
.The text was updated successfully, but these errors were encountered: