Skip to content

Conversation

@shrikantbadwaik
Copy link

@shrikantbadwaik shrikantbadwaik commented Nov 18, 2025

What I have done and why

Problem
When switching between light and dark themes in the Settings dialog, text colors on news cards (in "For You" and "Saved" tabs) were not updating immediately. Users had to scroll away and back for the colors to refresh.

Solution
Added a key() wrapper around the NewsResourceCardExpanded content that observes the theme's onSurface color

References
#1892
#1901

Before:

modechange.mp4

After:

fixed.mp4

@shrikantbadwaik
Copy link
Author

@dturner please review my pr

@shrikantbadwaik shrikantbadwaik force-pushed the shrikant/bug/text-color-changes branch from 3d87d56 to 91cdc39 Compare November 19, 2025 04:26
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.

1 participant