From 2449eb14d061031eb6b67698a99680e031f97a6e Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Sat, 16 Sep 2023 01:31:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20-=20=EB=B0=B0=EB=84=88=20=EA=B4=91=EA=B3=A0=20?= =?UTF-8?q?=EC=9C=84=EC=B9=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Content/Detail/ContentDetailView.swift | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/SodaLive/Sources/Content/Detail/ContentDetailView.swift b/SodaLive/Sources/Content/Detail/ContentDetailView.swift index aaf9b8d..ada4106 100644 --- a/SodaLive/Sources/Content/Detail/ContentDetailView.swift +++ b/SodaLive/Sources/Content/Detail/ContentDetailView.swift @@ -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)