[ios] Workaround for correct pp height.

This commit is contained in:
VladiMihaylenko 2017-10-18 18:35:52 +03:00 committed by r.kuznetsov
parent 9b6df8e3b1
commit 4dd0d63f97

View file

@ -699,7 +699,9 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
auto tv = self.placePageView.tableView;
[tv reloadSections:[NSIndexSet indexSetWithIndex:0]
withRowAnimation:UITableViewRowAnimationFade];
[self.previewLayoutHelper notifyHeightWashChanded];
dispatch_async(dispatch_get_main_queue(), ^{
[self.previewLayoutHelper notifyHeightWashChanded];
});
};
data.sectionsAreReadyCallback = ^(NSRange const & range, MWMPlacePageData * d, BOOL isSection) {