Closed rubenjavier closed 1 month ago
Same issue here. Only on Android (modal mode)
Is this library no longer maintained? Many issues opened regarding dark mode
Fixed in v5.0.6
Fixed in v5.0.6
I've just upgraded to v5.0.7 but still having the same issue. What's worse the action buttons are now also not adapting to dark mode anymore.
<DatePicker date={date} onDateChange={setDate} mode="time" modal={true} confirmText={t("common.actions.confirm")} cancelText={t("common.actions.cancel")} title={t("common.actions.selectTime")} locale={i18n.language} open={pickerOpen} textColor={Colors[colorScheme].primary} theme={"dark"} dividerColor={Colors[colorScheme].secondary[100]} minuteInterval={15} onConfirm={handlePickerConfirm} onCancel={() => setPickerOpen(false)} />
@Georg7 Did you rebuild the app? What android version are you using?
@Georg7 Did you rebuild the app? What android version are you using?
Yes, rebuilt the app. Title works correctly but action buttons in dark mode still don't work (black colour on dark background). Android 13.
@henninghall any update here? This also happens for me on version 5.0.7.
The Divider seems to adapt to the theme color, but the title and buttons do not.
Edit: I am using a Google Pixel 6 with Android 14 and React Native 74.5
Describe the bug The title text in dark mode under Android is too dark to be legible and the color is not manually configurable
Expected behavior The title text should be legible in dark theme or better yet, the title text color and modal background color should be configurable ideally we should have the following colors to be configurable titleColor backgroundColor
Thanks in advance.
To Reproduce set theme to dark in android 14
Smartphone (please complete the following information):