react-native-segmented-control/segmented-control

Change tintColor and fontStyle.color is lost

padge opened this issue · 3 comments

padge commented

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.

Same issue here. And I also noticed that the appearance prop is not correct either. Even if I set it to light it changes when I change app theme

Facing the same issue, any update on this ?

Same issue!