morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.64k stars 560 forks source link

iOS Dark mode contact card header buttons and text invisible #645

Closed elrony closed 2 years ago

elrony commented 2 years ago

This PR is to fix #639 which causes the contact sheet's header buttons and text to be invisible when using dark mode.

It also fixes the problem with the statusBar colour which causes you app's custom statusBar colour to be replaced (This is only noticeable if the phone has a notch)

I have tested this on iOS13.0 (Simulator), 14.7.1 (iPhone 8+) and 15.1 (iPhone X) and it behaves as expected: when in dark mode, the header buttons use the accent colour and the title is white.

The problem:

https://user-images.githubusercontent.com/5883791/140702296-10e7b06a-2062-4484-be6f-8a24654ea225.mov

The fix:

https://user-images.githubusercontent.com/5883791/140702910-1603da10-653d-4ac7-bbd7-629b0df8c87e.mov

morenoh149 commented 2 years ago

thanks!