forked from organicmaps/organicmaps
[iOS] remove Megafon banner from download map dialog
Show catalog promo instead https://jira.mail.ru/browse/MAPSME-12975
This commit is contained in:
parent
1e0b44e4bb
commit
ed350020ab
1 changed files with 1 additions and 17 deletions
|
@ -281,23 +281,7 @@ using namespace storage;
|
|||
[self layoutIfNeeded];
|
||||
if (self.bannerView.hidden) {
|
||||
switch (m_promoBanner.m_type) {
|
||||
case promo::DownloaderPromo::Type::Megafon: {
|
||||
__weak __typeof(self) ws = self;
|
||||
self.bannerViewController = [[MWMMegafonBannerViewController alloc] initWithTapHandler:^{
|
||||
[ws bannerAction];
|
||||
[Statistics logEvent:kStatDownloaderBannerClick
|
||||
withParameters:@{
|
||||
kStatFrom: kStatMap,
|
||||
kStatProvider: kStatMegafon
|
||||
}];
|
||||
}];
|
||||
[Statistics logEvent:kStatDownloaderBannerShow
|
||||
withParameters:@{
|
||||
kStatFrom: kStatMap,
|
||||
kStatProvider: kStatMegafon
|
||||
}];
|
||||
break;
|
||||
}
|
||||
case promo::DownloaderPromo::Type::Megafon:
|
||||
case promo::DownloaderPromo::Type::BookmarkCatalog: {
|
||||
__weak __typeof(self) ws = self;
|
||||
self.bannerViewController = [[MWMBookmarksBannerViewController alloc] initWithTapHandler:^{
|
||||
|
|
Loading…
Add table
Reference in a new issue