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

Only call onColorSchemeChange when the color scheme changes #358

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

sh0ji
Copy link
Contributor

@sh0ji sh0ji commented Jun 17, 2024

onColorSchemeChange was triggering on first load, regardless of whether the stored colorScheme value was different. This fixes that.

Closes NDS-448.

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-358.dmoqt7vj2nim.amplifyapp.com

@sh0ji sh0ji merged commit 6b5b5ec into main Jun 17, 2024
14 checks passed
@sh0ji sh0ji deleted the fix/theme-provider branch June 17, 2024 18:37
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