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.
I'm trying to use this component to change my app's theme from light to dark.
The
fontStyle.colorprop works on first render, but when I changetintColorprop (light and dark have slightly different tints) thefontStyle.colorstyle is lost andtintColoris used for the font color instead.If I keep
tintColorthe same and only changefontStyle.color(when switching from light to dark), then the font color is correct. It's only whentintColorchanges to a different value does the error happen.Using version
2.4.0.