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

document working with dark mode #204

Merged
merged 1 commit into from
Jun 25, 2020
Merged

Conversation

vonovak
Copy link
Member

@vonovak vonovak commented Jun 25, 2020

Summary

this is to educate users about how to work with dark mode on ios

We could do more: we could check useColorScheme() === 'dark' and change default picker background color here but that would mean we would depend on appearance api which landed in RN 62 and I think there are still many apps that have not upgraded and they would not be able to use the module.

Test Plan

tests pass

Compatibility

OS Implemented
iOS ✅❌
Android ✅❌

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I mentioned this change in CHANGELOG.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)

@vonovak vonovak mentioned this pull request Jun 25, 2020
5 tasks
@luancurti luancurti merged commit 465ff85 into master Jun 25, 2020
@luancurti luancurti deleted the @vonovak/document-dark-mode branch June 25, 2020 23:42
@luancurti luancurti mentioned this pull request Jun 25, 2020
@partiellkorrekt
Copy link

partiellkorrekt commented Jul 17, 2020

I think this should also be mentioned under "Migration from the older components" as this change in behavior can lead to surprises and confusion easily

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.

3 participants