hide sendername in chat
This commit is contained in:
parent
fbd6c8893d
commit
c81337646a
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user