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.
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