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) }
VStack(alignment: isCurrentUser ? .trailing : .leading, spacing: 6) {
if !isCurrentUser {
Text(senderName(for: message))
.font(.caption)
.foregroundColor(.secondary)
}
// if !isCurrentUser {
// Text(senderName(for: message))
// .font(.caption)
// .foregroundColor(.secondary)
// }
Text(contentText(for: message))
.font(.body)