Stop passing the whole timeline item to the bubble background modifier.

This commit is contained in:
Stefan Ceriu
2024-12-13 14:57:45 +02:00
committed by Stefan Ceriu
parent b11fbc6cce
commit 40d820d4f4
5 changed files with 10 additions and 10 deletions
@@ -163,7 +163,7 @@ struct TimelineItemBubbledStylerView<Content: View>: View {
var messageBubble: some View {
contentWithReply
.timelineItemSendInfo(timelineItem: timelineItem, adjustedDeliveryStatus: adjustedDeliveryStatus, context: context)
.bubbleBackground(timelineItem: timelineItem,
.bubbleBackground(isOutgoing: timelineItem.isOutgoing,
insets: timelineItem.bubbleInsets,
color: timelineItem.bubbleBackgroundColor)
}