라이브, 지금 라이브 중 전체보기 - 배너 광고 추가
This commit is contained in:
		| @@ -17,7 +17,7 @@ let BOOTPAY_APP_ID = "6242a7772701800023f68b2f" | ||||
| let FREE_CONTENT_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let CURATION_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let ORDERLIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let LIVE_BANNER_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let LIVE_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let FOLLOWING_CHANNEL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let LIVE_NOW_ALL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
| let CREATOR_CHANNEL_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" | ||||
|   | ||||
| @@ -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 ? | ||||
|   | ||||
| @@ -6,6 +6,7 @@ | ||||
| // | ||||
|  | ||||
| import SwiftUI | ||||
| import GoogleMobileAds | ||||
| import RefreshableScrollView | ||||
|  | ||||
| struct LiveNowAllView: View { | ||||
| @@ -21,6 +22,13 @@ struct LiveNowAllView: View { | ||||
|                 VStack(spacing: 0) { | ||||
|                     DetailNavigationBar(title: "지금 라이브 중 전체보기") | ||||
|                      | ||||
|                     BannerAdView(adUnitId: LIVE_NOW_ALL_LIST_BANNER_AD_UNIT_ID) | ||||
|                         .frame( | ||||
|                             width: screenSize().width, | ||||
|                             height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height | ||||
|                         ) | ||||
|                         .padding(.vertical, 6.7) | ||||
|                      | ||||
|                     RefreshableScrollView( | ||||
|                         refreshing: $viewModel.isRefresh, | ||||
|                         action: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung