Merge pull request #5489 from VladiMihaylenko/rich-pp

Using score count instead of score.
This commit is contained in:
Arsentiy Milchakov 2017-02-28 19:13:46 +03:00 committed by GitHub
commit 61f557c0fa

View file

@ -381,7 +381,7 @@ using namespace place_page;
- (NSString *)hotelDescription { return @(m_hotelInfo.m_description.c_str()); }
- (vector<booking::HotelFacility> const &)facilities { return m_hotelInfo.m_facilities; }
- (vector<booking::HotelReview> const &)reviews { return m_hotelInfo.m_reviews; }
- (NSUInteger)numberOfReviews { return m_hotelInfo.m_score; }
- (NSUInteger)numberOfReviews { return m_hotelInfo.m_scoreCount; }
- (NSArray<MWMGalleryItemModel *> *)photos
{
NSMutableArray<MWMGalleryItemModel *> * res = [@[] mutableCopy];