fix(chat): DM 수신자 목록 헤더를 정리한다
This commit is contained in:
@@ -492,7 +492,9 @@ struct UserCreatorChatRecipientSearchView: View {
|
||||
} else {
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
LazyVStack(alignment: .leading, spacing: 0) {
|
||||
sectionHeader
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user