forked from organicmaps/organicmaps
Fixed crash.
This commit is contained in:
parent
5d624aeb36
commit
d0625a87fb
1 changed files with 3 additions and 0 deletions
|
@ -348,6 +348,9 @@ array<Class, 8> const kPreviewCells = {{[_MWMPPPTitle class], [_MWMPPPExternalTi
|
|||
if (IPAD)
|
||||
return;
|
||||
|
||||
if (!self.data)
|
||||
return;
|
||||
|
||||
[self.tableView update:^{
|
||||
self.cachedBannerCell.state = isOpen ? MWMAdBannerStateDetailed : MWMAdBannerStateCompact;
|
||||
}];
|
||||
|
|
Loading…
Add table
Reference in a new issue