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

Invalidate existing pull-to-refresh spinner when theme changes #7351

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rolandcrosby
Copy link
Contributor

Fixes #7339

Currently, the pull-to-refresh spinner can remain the wrong color after the theme changes. I don't know enough about React Native to understand why the existing RefreshControl doesn't get invalidated when its tintColor and titleColor props change, but setting a key seems to fix this.

BeforeAfter
2025-01-02.23-25-17.mov
2025-01-03.21-41-17.mov

@rolandcrosby rolandcrosby changed the title Invalidate existing pull-to-refresh spinner when dark mode changes Invalidate existing pull-to-refresh spinner when theme changes Jan 4, 2025
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

Successfully merging this pull request may close these issues.

Pull-to-refresh spinner color doesn't change when dark mode is toggled
1 participant