Fix single date selection text not showing

This commit is contained in:
Arnaud Vergnet 2020-08-07 11:52:04 +02:00
parent 4c29e146bb
commit ee82589cae

View file

@ -280,7 +280,7 @@ class EquipmentRentScreen extends React.Component<PropsType, StateType> {
end: getRelativeDateString(end),
});
else
i18n.t('screens.equipment.bookingDay', {
subHeadingText = i18n.t('screens.equipment.bookingDay', {
date: getRelativeDateString(start),
});
if (item != null) {