[ios] place page reopening on map downloading is fixed for ios. review fixes

This commit is contained in:
Arsentiy Milchakov 2019-08-27 17:19:38 +03:00 committed by Aleksey Belousov
parent 512354750b
commit 6fa24d9a8f

View file

@ -130,7 +130,7 @@ void RegisterEventIfPossible(eye::MapObject::Event::Type const type, place_page:
}
- (void)update:(place_page::Info const &)info {
if (!self.layout || !self.data)
if (!self.isPPShown)
return;
self.data = [[MWMPlacePageData alloc] initWithPlacePageInfo:info];