diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/forms/DateField/index.android.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/forms/DateField/index.android.tsx b/src/components/forms/DateField/index.android.tsx index 1830ca4bf..0fd5bca01 100644 --- a/src/components/forms/DateField/index.android.tsx +++ b/src/components/forms/DateField/index.android.tsx @@ -50,11 +50,14 @@ export function DateField({ /> {open && ( + // Android implementation of DatePicker currently does not change default button colors according to theme and only takes hex values for buttonColor + // Can remove the buttonColor setting if/when this PR is merged: https://github.com/henninghall/react-native-date-picker/pull/871 <DatePicker modal open timeZoneOffsetInMinutes={0} theme={t.name === 'light' ? 'light' : 'dark'} + buttonColor={t.name === 'light' ? '#000000' : '#ffffff'} date={new Date(value)} onConfirm={onChangeInternal} onCancel={onCancel} |