forked from organicmaps/organicmaps
[release-72-banner-fix] [ios] Fixed banners cache.
This commit is contained in:
parent
6d1f60e19e
commit
041b25a21f
3 changed files with 3 additions and 3 deletions
|
@ -109,6 +109,8 @@ using BannerIsReady = void (^)();
|
|||
// ready callback will be called from main queue.
|
||||
- (instancetype)initWithPlacePageInfo:(place_page::Info const &)info;
|
||||
|
||||
- (void)fillSections;
|
||||
|
||||
- (void)updateBookmarkStatus:(BOOL)isBookmark;
|
||||
|
||||
/// Country id for changing place page's fields which depend on application state.
|
||||
|
|
|
@ -52,10 +52,7 @@ using namespace place_page;
|
|||
{
|
||||
self = [super init];
|
||||
if (self)
|
||||
{
|
||||
m_info = info;
|
||||
[self fillSections];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
|
@ -67,6 +67,7 @@ void logSponsoredEvent(MWMPlacePageData * data, NSString * eventName)
|
|||
[MWMFrameworkListener addObserver:self];
|
||||
|
||||
self.data = [[MWMPlacePageData alloc] initWithPlacePageInfo:info];
|
||||
[self.data fillSections];
|
||||
|
||||
if (!self.layout)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue