hide sendername in chat

This commit is contained in:
cheykrym 2025-10-08 19:08:28 +03:00
parent fbd6c8893d
commit c81337646a

View File

@ -123,11 +123,11 @@ struct PrivateChatView: View {
if isCurrentUser { Spacer(minLength: 32) } if isCurrentUser { Spacer(minLength: 32) }
VStack(alignment: isCurrentUser ? .trailing : .leading, spacing: 6) { VStack(alignment: isCurrentUser ? .trailing : .leading, spacing: 6) {
if !isCurrentUser { // if !isCurrentUser {
Text(senderName(for: message)) // Text(senderName(for: message))
.font(.caption) // .font(.caption)
.foregroundColor(.secondary) // .foregroundColor(.secondary)
} // }
Text(contentText(for: message)) Text(contentText(for: message))
.font(.body) .font(.body)