From c81337646a54cd33dcb0fe837a355ad883252dfe Mon Sep 17 00:00:00 2001 From: cheykrym Date: Wed, 8 Oct 2025 19:08:28 +0300 Subject: [PATCH] hide sendername in chat --- yobble/Views/Chat/PrivateChatView.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index a78a25b..965076d 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -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)