Compare commits

..

No commits in common. "2000ddadc2a6684a19fd733017e63e19c6812483" and "9460024734690133cee90f7f70a8e407965606de" have entirely different histories.

View File

@ -160,11 +160,11 @@ struct PrivateChatView: View {
// .foregroundColor(.secondary) // .foregroundColor(.secondary)
// } // }
HStack(alignment: .bottom) { HStack{
Text(contentText(for: message)) Text(contentText(for: message))
.font(.body) .font(.body)
.foregroundColor(isCurrentUser ? .white : .primary) .foregroundColor(isCurrentUser ? .white : .primary)
.multilineTextAlignment(.leading) .multilineTextAlignment(isCurrentUser ? .trailing : .leading)
Text(timestamp(for: message)) Text(timestamp(for: message))
.font(.caption2) .font(.caption2)