Files
react-native/packages
SantiagoandNicola Corti d04b630daa Fix Appearance.setColorScheme(null) not resetting color scheme value (#47739)
Summary:
Fixes https://github.com/facebook/react-native/issues/47725

Calling Appearance.setColorScheme(null) or Appearance.setColorScheme(undefined) no longer resets the color scheme useColorScheme returns like on previous rn versions.

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[GENERAL] [FIXED] - Fix `Appearance.setColorScheme(null)` not resetting color scheme value

Pull Request resolved: https://github.com/facebook/react-native/pull/47739

Test Plan: Repo with a patch ready to test: https://github.com/sangonz193/react-native-color-scheme-patch

Reviewed By: yungsters

Differential Revision: D66230236

Pulled By: cipolleschi

fbshipit-source-id: cc668acb1fde6d30f2706fc0ab7dee5cea1c3b14
2025-02-05 14:16:08 +00:00
..
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-02-05 14:13:35 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00
2025-02-05 14:13:35 +00:00
2025-01-09 10:47:05 +00:00
2025-01-09 10:47:05 +00:00