henninghall / react-native-date-picker

React Native Date Picker is datetime picker for Android and iOS. It includes date, time and datetime picker modes. The datepicker is customizable and is supporting different languages. It's written with native code to achieve the best possible look, feel and performance.
MIT License
2.21k stars 338 forks source link

dividerColor does not work on Android #787

Closed tapz closed 5 months ago

tapz commented 6 months ago

Describe the bug Dividers stay black even if dividerColor='red' (or any hex value).

Expected behavior Divider colors changes to red.

To Reproduce Add example code that reproduces the behavior.

<DatePicker
  style={styles.datePicker}
  date={new Date(2100, 0, 1, 0, 0, 0, 0)}
  locale={'en-FI'}
  mode='time'
  onDateChange={props.onTimeChanged}
  dividerColor='red'
  theme='light'
  minuteInterval={15}
  is24hourSource='locale'
 />

const styles = StyleSheet.create({
  datePicker: {
    alignSelf: 'center',
    width: 120
  }
});

Smartphone (please complete the following information):

efstathiosntonas commented 6 months ago

same here on version 5.0.0 on Paper

playsoremobile commented 5 months ago

same here

henninghall commented 5 months ago

Thanks for reporting this. It is fixed in version 5.0.1