Skip to content

Commit 11e376b

Browse files
committed
Fix code formatting in MessageView.swift
1 parent c3a9fe7 commit 11e376b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebaseai/ChatExample/Views/MessageView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct ResponseTextView: View {
8282

8383
struct MessageView: View {
8484
var message: ChatMessage
85-
85+
8686
private var participantLabel: String {
8787
message.participant == .user ? "User" : "Model"
8888
}
@@ -98,7 +98,7 @@ struct MessageView: View {
9898
.padding(.horizontal, 8)
9999
.padding(.vertical, 2)
100100
.frame(maxWidth: .infinity, alignment: message.participant == .user ? .trailing : .leading)
101-
101+
102102
// Message content
103103
HStack {
104104
if message.participant == .user {

0 commit comments

Comments
 (0)