fix(chat): DM 수신자 목록 헤더를 정리한다

This commit is contained in:
Yu Sung
2026-09-14 22:49:10 +09:00
parent e486642a77
commit cf5ee85889
@@ -492,7 +492,9 @@ struct UserCreatorChatRecipientSearchView: View {
} else {
ScrollView(.vertical, showsIndicators: false) {
LazyVStack(alignment: .leading, spacing: 0) {
if viewModel.isSearchMode || !viewModel.items.isEmpty {
sectionHeader
}
ForEach(viewModel.items) { item in
UserCreatorChatRecipientRow(item: item) {
@@ -514,8 +516,10 @@ struct UserCreatorChatRecipientSearchView: View {
if viewModel.isSearchMode {
HStack(spacing: SodaSpacing.s4) {
Text(I18n.UserCreatorChatRecipientSearch.searchResultLabel)
.appFont(.body2)
.foregroundColor(.white)
Text("\(viewModel.items.count)")
.appFont(.body2)
.foregroundColor(Color.gray500)
}
.appFont(size: 14, weight: .bold)
@@ -523,7 +527,7 @@ struct UserCreatorChatRecipientSearchView: View {
.frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
} else {
Text(I18n.UserCreatorChatRecipientSearch.sectionTitle)
.appFont(size: 14, weight: .bold)
.appFont(.body1)
.foregroundColor(.white)
.padding(.horizontal, SodaSpacing.s14)
.frame(height: 40, alignment: .leading)