Admob 제거

This commit is contained in:
Yu Sung
2023-10-14 17:31:28 +09:00
parent 282ee73de1
commit 6c8e19aed5
19 changed files with 3 additions and 228 deletions

View File

@@ -6,7 +6,6 @@
//
import SwiftUI
import GoogleMobileAds
struct OrderListAllView: View {
@@ -39,13 +38,6 @@ struct OrderListAllView: View {
LazyVStack(spacing: 10.7) {
ScrollerToTop(reader: reader, scrollOnChange: $viewModel.scrollToTop)
BannerAdView(adUnitId: ORDERLIST_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
)
.padding(.vertical, 6.7)
ForEach(0..<viewModel.orderList.count, id: \.self) { index in
let item = viewModel.orderList[index]
OrderListItemView(item: item)
@@ -56,6 +48,7 @@ struct OrderListAllView: View {
.setAppStep(step: .contentDetail(contentId: item.contentId))
}
.padding(.horizontal, 13.3)
.padding(.top, 6.7)
.onAppear {
if index == viewModel.orderList.count - 1 {
viewModel.getOrderList()