라이브, 지금 라이브 중 전체보기 - 배너 광고 추가

This commit is contained in:
Yu Sung
2023-09-15 17:03:16 +09:00
parent a16c38f4ab
commit b1773b117d
3 changed files with 17 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
//
import SwiftUI
import GoogleMobileAds
import RefreshableScrollView
struct LiveView: View {
@@ -29,8 +30,15 @@ struct LiveView: View {
if viewModel.recommendLiveItems.count > 0 {
SectionRecommendLiveView(items: viewModel.recommendLiveItems)
.padding(.top, 13.3)
.padding(.bottom, 40)
}
BannerAdView(adUnitId: LIVE_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
if viewModel.recommendChannelItems.count > 0 {
SectionRecommendChannelView(
items: viewModel.isFollowingList ?