putch bubble

This commit is contained in:
cheykrym 2025-12-12 01:25:07 +03:00
parent 7a078f6b51
commit 66ca1bb130

View File

@ -291,8 +291,7 @@ struct PrivateChatView: View {
.foregroundColor(isCurrentUser ? foregroundColor.opacity(0.85) : .secondary) .foregroundColor(isCurrentUser ? foregroundColor.opacity(0.85) : .secondary)
} }
} }
// Lower the timestamp slightly to make it look like it's in the corner. .offset(y: 3) // Move the timestamp view down
.padding(.bottom, 2)
} }
.padding(.vertical, 10) .padding(.vertical, 10)
.padding(.horizontal, 12) .padding(.horizontal, 12)
@ -302,7 +301,7 @@ struct PrivateChatView: View {
showHornsRaw: decorations.showHorns, showHornsRaw: decorations.showHorns,
showLegsRaw: decorations.showLegs showLegsRaw: decorations.showLegs
) )
.fill(bubbleColor) .fill(bubbleColor)
) )
.frame(maxWidth: messageBubbleMaxWidth, alignment: isCurrentUser ? .trailing : .leading) .frame(maxWidth: messageBubbleMaxWidth, alignment: isCurrentUser ? .trailing : .leading)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)