feat(chat): 톡 탭 상단에 Yandex 배너를 추가한다

Ultraworked with [Sisyphus]

https://github.com/code-yeongyu/oh-my-openagent

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Yu Sung
2026-04-28 14:29:09 +09:00
parent 0f5cd8a904
commit 69a7d291d1

View File

@@ -13,13 +13,18 @@ struct TalkView: View {
var body: some View {
BaseView(isLoading: $viewModel.isLoading) {
if viewModel.talkRooms.isEmpty {
Text(I18n.Chat.Talk.emptyMessage)
.appFont(size: 20, weight: .regular)
.foregroundColor(.white)
} else {
ScrollView(.vertical, showsIndicators: false) {
LazyVStack(spacing: 24) {
ScrollView(.vertical, showsIndicators: false) {
LazyVStack(spacing: 24) {
YandexInlineBannerView(
placement: .chatTalkTabTop,
horizontalPadding: 24
)
if viewModel.talkRooms.isEmpty {
Text(I18n.Chat.Talk.emptyMessage)
.appFont(size: 20, weight: .regular)
.foregroundColor(.white)
} else {
ForEach(0..<viewModel.talkRooms.count, id: \.self) { index in
let item = viewModel.talkRooms[index]
TalkItemView(item: item)
@@ -38,14 +43,15 @@ struct TalkView: View {
}
}
}
if viewModel.isLoadingMore {
ProgressView()
.progressViewStyle(CircularProgressViewStyle(tint: .white))
.padding(.vertical, 12)
}
}
.padding(.vertical, 24)
}
.padding(.vertical, 12)
}
}
.onAppear {