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

Update index.js #851

Closed awais-124 closed 1 month ago

awais-124 commented 1 month ago

return value of getTextColor updated...

Changes Suggested in following function

const getTextColor = (props) => {
const darkTheme = getTheme(props) === 'dark'
if (darkTheme) return 'white'
return undefined // should be black
}

Suggested Change

- return undefined
+ return 'black'
henninghall commented 1 month ago

Thanks for your contribution! This fix is integrated in v5.0.6