Skip to content

Commit ebd450b

Browse files
Voice recording messages now use the standard message modifier (#441)
1 parent 244b323 commit ebd450b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

β€ŽCHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
99
### πŸ”„ Changed
1010
- Author name display now depends on number of participants, not channel type
1111

12+
### 🐞 Fixed
13+
- Voice recording messages now use the standard message modifier
14+
1215
### πŸ”„ Changed
1316

1417
# [4.48.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.48.0)

β€ŽSources/StreamChatSwiftUI/ChatChannel/MessageList/AsyncVoiceMessages/VoiceRecordingContainerView.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ public struct VoiceRecordingContainerView<Factory: ViewFactory>: View {
9191
.background(Color(colors.background))
9292
.cornerRadius(16)
9393
.padding(.all, 4)
94-
.messageBubble(for: message, isFirst: isFirst)
94+
.modifier(
95+
factory.makeMessageViewModifier(
96+
for: MessageModifierInfo(message: message, isFirst: isFirst)
97+
)
98+
)
9599
}
96100

97101
private func index(for attachment: ChatMessageVoiceRecordingAttachment) -> Int {

0 commit comments

Comments
Β (0)