Ilya Grechuhin 2017-04-12 14:26:39 +03:00
parent 2ecff49a9a
commit f27548b6f1

View file

@ -476,7 +476,8 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
- (void)update
{
[self.placePageView.tableView refresh];
if (self.data)
[self.placePageView.tableView refresh];
}
#pragma mark - MWMPlacePageViewUpdateProtocol
@ -493,4 +494,12 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
[self.layoutImpl onUpdatePlacePageWithHeight:self.placePageView.tableView.contentSize.height];
}
#pragma mark - Properties
- (void)setData:(MWMPlacePageData *)data
{
[NSObject cancelPreviousPerformRequestsWithTarget:self];
_data = data;
}
@end