-
Install dependencies
yarn
-
Start the app
yarn ios
-
Tap the buttons on the screen. Notice how "light" and "dark" work as expected, but "null" and "undefined" make the current theme "null" and "undefined" respectively, instead of showing what the OS theme is.
-
Apply the patch
npx patch-package
-
Close the app and stop metro.
-
Start the app again
yarn ios
-
Tap the buttons on the screen. Notice how "light" and "dark" work as expected, and "null" and "undefined" now show the OS theme.
-
Notifications
You must be signed in to change notification settings - Fork 0
sangonz193/react-native-color-scheme-patch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published