[iOS] set default check in/out dates in hotel filter

https://jira.mail.ru/browse/MAPSME-9920
This commit is contained in:
Aleksey Belouosv 2019-03-06 16:39:25 +03:00 committed by Aleksandr Zatsepin
parent 717cab7e7d
commit 24555eb480

View file

@ -115,9 +115,12 @@ void configButton(UIButton * button, NSString * primaryText, NSString * secondar
{
m_selectedTypes = params.types;
[self.type.collectionView reloadData];
self.checkInDate = params.checkInDate;
self.checkOutDate = params.checkOutDate;
if (params.checkInDate != nil && params.checkOutDate != nil)
{
self.checkInDate = params.checkInDate;
self.checkOutDate = params.checkOutDate;
}
using namespace place_page::rating;
auto ratingCell = self.rating;