diff --git a/node_modules/react-native-calendar-picker/CalendarPicker/Day.js b/node_modules/react-native-calendar-picker/CalendarPicker/Day.js index f79b618..e163c31 100644 --- a/node_modules/react-native-calendar-picker/CalendarPicker/Day.js +++ b/node_modules/react-native-calendar-picker/CalendarPicker/Day.js @@ -197,15 +197,43 @@ export default function Day(props) { ); } else { return ( - - onPressDay({year, month, day}) }> - - { day } - - + + {!(selectedStartDate && !selectedEndDate && isThisDaySameAsSelectedStart) && ( + onPressDay({year, month, day}) }> + + { day } + + + )} + + {(thisDay.isSame(selectedStartDate, 'day') || thisDay.isSame(selectedEndDate, 'day')) && ( + onPressDay({year, month, day}) }> + + { day } + + + )} ); }