콘텐츠 상세 - 배너 광고 위치 수정
This commit is contained in:
parent
4c9e78f960
commit
2449eb14d0
|
@ -72,15 +72,6 @@ struct ContentDetailView: View {
|
|||
isShowPreviewAlert: $viewModel.isShowPreviewAlert
|
||||
)
|
||||
|
||||
if audioContent.price <= 0 || (audioContent.price > 0 && !audioContent.existOrdered) {
|
||||
BannerAdView(adUnitId: FREE_CONTENT_BANNER_AD_UNIT_ID)
|
||||
.frame(
|
||||
width: screenSize().width,
|
||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
||||
)
|
||||
.padding(.top, 13.3)
|
||||
}
|
||||
|
||||
ContentDetailInfoView(
|
||||
isExpandDescription: $viewModel.isExpandDescription,
|
||||
isShowPreviewAlert: $viewModel.isShowPreviewAlert,
|
||||
|
@ -127,6 +118,15 @@ struct ContentDetailView: View {
|
|||
}
|
||||
}
|
||||
|
||||
if audioContent.price <= 0 || (audioContent.price > 0 && !audioContent.existOrdered) {
|
||||
BannerAdView(adUnitId: FREE_CONTENT_BANNER_AD_UNIT_ID)
|
||||
.frame(
|
||||
width: screenSize().width,
|
||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
||||
)
|
||||
.padding(.top, 13.3)
|
||||
}
|
||||
|
||||
Rectangle()
|
||||
.foregroundColor(Color(hex: "232323"))
|
||||
.frame(height: 6.7)
|
||||
|
|
Loading…
Reference in New Issue