[MAPSME-6195] [ios] Fixed check[in,out] dates selector range.

This commit is contained in:
Ilya Grechuhin 2017-12-13 11:32:16 +03:00
parent 2491fb155a
commit d03e314827

View file

@ -293,7 +293,7 @@ void configButton(UIButton * button, NSString * primaryText, NSString * secondar
selectedDate = self.checkOutDate;
minimumDate =
[[[NSDate date] laterDate:self.checkInDate] dateByAddingTimeInterval:kDayInterval];
maximumDate = [minimumDate dateByAddingTimeInterval:k30DaysInterval];
maximumDate = [self.checkInDate dateByAddingTimeInterval:k30DaysInterval];
}
auto picker = [[ActionSheetDatePicker alloc] initWithTitle:title