react-native-date-picker
react-native-date-picker copied to clipboard
Light theme prop not working with iOS
Describe the bug
When setting the theme prop to light, I'm still seeing a dark background with black text (see screenshot). My only solution is to set text to white but that's not a good approach because I'm risking certain instances opening the modal with the light background and white text.
FYI I'm testing this in Metro, not sure if that has an impact.
Expected behavior For the modal background to be light
To Reproduce Add example code that reproduces the behavior.
<DatePicker
theme="light"
modal={true}
open={openPickerModal}
date={date}
mode="date"
onConfirm={(newDate) => onDateConfirm(newDate, field)}
onCancel={onDatePickerCancel}
locale="en-US"
/>
Smartphone:
- OS: iOS
- React Native version 0.66.1
- react-native-date-picker version 4.2.5
