Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change tintColor and fontStyle.color is lost #641

Open
padge opened this issue Nov 30, 2022 · 3 comments
Open

Change tintColor and fontStyle.color is lost #641

padge opened this issue Nov 30, 2022 · 3 comments

Comments

@padge
Copy link

padge commented 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 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.

@padge padge changed the title Change appearance and style resets Change tintColor and fontStyle.color is lost Nov 30, 2022
@miladdev85
Copy link

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

@m6265m
Copy link

m6265m commented Mar 9, 2023

Facing the same issue, any update on this ?

@Tavernari
Copy link

Same issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants