라이브 방 - 배너 광고 제거

This commit is contained in:
Yu Sung 2023-09-15 23:36:21 +09:00
parent 8c20ce9c62
commit 36aa167e1d
1 changed files with 2 additions and 8 deletions

View File

@ -289,13 +289,7 @@ struct LiveRoomView: View {
InputChatView {
isShowingNewChat = false
proxy.scrollTo(viewModel.messages.count - 1, anchor: .center)
}
BannerAdView(adUnitId: LIVE_ROOM_BANNER_AD_UNIT_ID)
.frame(
width: screenSize().width,
height: keyboardHandler.keyboardHeight <= 10 ? GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height : 0.2
)
}.padding(.bottom, 10)
}
VStack(spacing: 13.3) {
@ -346,7 +340,7 @@ struct LiveRoomView: View {
}
}
.padding(.trailing, 16.7)
.padding(.bottom, keyboardHandler.keyboardHeight > 0 ? 85 : 143)
.padding(.bottom, 85)
if isShowingNewChat {
NewChatView{