diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index 872f85e..7e5bc78 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -159,15 +159,18 @@ struct PrivateChatView: View { // .font(.caption) // .foregroundColor(.secondary) // } - - Text(contentText(for: message)) - .font(.body) - .foregroundColor(isCurrentUser ? .white : .primary) - .multilineTextAlignment(isCurrentUser ? .trailing : .leading) - - Text(timestamp(for: message)) - .font(.caption2) - .foregroundColor(isCurrentUser ? Color.white.opacity(0.8) : .secondary) + + HStack{ + Text(contentText(for: message)) + .font(.body) + .foregroundColor(isCurrentUser ? .white : .primary) + .multilineTextAlignment(isCurrentUser ? .trailing : .leading) + + Text(timestamp(for: message)) + .font(.caption2) + .foregroundColor(isCurrentUser ? Color.white.opacity(0.8) : .secondary) + + } } .padding(.vertical, 10) .padding(.horizontal, 12) @@ -314,7 +317,7 @@ struct PrivateChatView: View { private var sendButton: some View { Button(action: sendCurrentMessage) { - Image(systemName: "paperplane.fill") + Image(systemName: "leaf.fill") .font(.system(size: 16, weight: .semibold)) .foregroundColor(Color.white.opacity(isSendDisabled ? 0.6 : 1)) .frame(width: 36, height: 36)