[release-72-banner-fix] [ios] Fixed banners cache.

This commit is contained in:
Ilya Grechuhin 2017-04-04 12:14:53 +03:00 committed by Vladimir Byko-Ianko
parent 6d1f60e19e
commit 041b25a21f
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -52,10 +52,7 @@ using namespace place_page;
{
self = [super init];
if (self)
{
m_info = info;
[self fillSections];
}
return self;
}

View file

@ -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)
{