Skip to content

[iOS] Use react native 0.62 hook for dark mode#2120

Merged
marecar3 merged 6 commits intoupdate-rn-0-62from
try/use_rn_0.62_hook_for_dark_mode_ios
Apr 13, 2020
Merged

[iOS] Use react native 0.62 hook for dark mode#2120
marecar3 merged 6 commits intoupdate-rn-0-62from
try/use_rn_0.62_hook_for_dark_mode_ios

Conversation

@marecar3
Copy link
Copy Markdown
Contributor

@marecar3 marecar3 commented Apr 7, 2020

Fixes #

With React Native 0.62 we got built-in dark mode feature: https://reactnative.dev/blog/2020/03/26/version-0.62#new-dark-mode-features
which allows us to remove react-native-dark-mode library from the project.

Fellow Gutenberg PR: WordPress/gutenberg#21455

To test:

The dark mode should work as expected both in the Demo app and the WPiOS app.

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Copy link
Copy Markdown
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marecar3
Copy link
Copy Markdown
Contributor Author

Approved via WordPress/gutenberg#21455 (review)
🎉

Thanks!

@marecar3 marecar3 merged commit 394c078 into update-rn-0-62 Apr 13, 2020
@marecar3 marecar3 deleted the try/use_rn_0.62_hook_for_dark_mode_ios branch April 13, 2020 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants