We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3a9fe7 commit 11e376bCopy full SHA for 11e376b
firebaseai/ChatExample/Views/MessageView.swift
@@ -82,7 +82,7 @@ struct ResponseTextView: View {
82
83
struct MessageView: View {
84
var message: ChatMessage
85
-
+
86
private var participantLabel: String {
87
message.participant == .user ? "User" : "Model"
88
}
@@ -98,7 +98,7 @@ struct MessageView: View {
98
.padding(.horizontal, 8)
99
.padding(.vertical, 2)
100
.frame(maxWidth: .infinity, alignment: message.participant == .user ? .trailing : .leading)
101
102
// Message content
103
HStack {
104
if message.participant == .user {
0 commit comments