구매목록 - 배너광고 추가
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import GoogleMobileAds
|
||||
|
||||
struct OrderListAllView: View {
|
||||
|
||||
@@ -38,6 +39,13 @@ 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)
|
||||
|
Reference in New Issue
Block a user