메시지 - 배너 광고 추가
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
import SwiftUI
|
||||
import Kingfisher
|
||||
import GoogleMobileAds
|
||||
|
||||
struct SelectRecipientView: View {
|
||||
|
||||
@@ -34,7 +35,13 @@ struct SelectRecipientView: View {
|
||||
.cornerRadius(10)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 26.7) {
|
||||
LazyVStack(spacing: 26.7) {
|
||||
BannerAdView(adUnitId: MESSAGE_BANNER_AD_UNIT_ID)
|
||||
.frame(
|
||||
width: screenSize().width,
|
||||
height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height
|
||||
)
|
||||
|
||||
ForEach(viewModel.users, id: \.self) { user in
|
||||
HStack(spacing: 13.3) {
|
||||
KFImage(URL(string: user.profileImageUrl))
|
||||
@@ -56,9 +63,10 @@ struct SelectRecipientView: View {
|
||||
isShowing = false
|
||||
}
|
||||
}
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
}
|
||||
}
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
.frame(width: screenSize().width)
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
|
Reference in New Issue
Block a user