Commit 916972a8 by Demid Merzlyakov

Merge branch 'bugfix/IOS-132/mrec_ads_was_not_visible' into 'release/5.1.1-native-ads-att'

[IOS-132]: today_banner placement name was used in place of today_sqaure placement name - Fixed

See merge request oneweather/1weather-ios-new!5
parents 0ddda836 c277689d
...@@ -97,11 +97,13 @@ class TodayCellFactory: CellFactory { ...@@ -97,11 +97,13 @@ class TodayCellFactory: CellFactory {
adView.delegate = self adView.delegate = self
adView.loggingAlias = "📍 Today Banner" adView.loggingAlias = "📍 Today Banner"
var adType = AdType.banner var adType = AdType.banner
var placementName = placementNameTodayBanner
if cellType(at: indexPath) == .adMREC { if cellType(at: indexPath) == .adMREC {
adType = .square adType = .square
placementName = placementNameTodaySquare
adView.loggingAlias = "📅 Today MREC" adView.loggingAlias = "📅 Today MREC"
} }
adView.set(placementName: placementNameTodayBanner, adType: adType) adView.set(placementName: placementName, adType: adType)
adViewCache[indexPath] = adView adViewCache[indexPath] = adView
return adView return adView
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment