File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Sources/StreamChatSwiftUI/ChatChannel/MessageList Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,8 @@ struct MessageContainerView<Factory: ViewFactory>: View {
84
84
MessageRepliesView (
85
85
factory: factory,
86
86
channel: channel,
87
- message: message
87
+ message: message,
88
+ replyCount: message. replyCount
88
89
)
89
90
}
90
91
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ struct MessageRepliesView<Factory: ViewFactory>: View {
14
14
var factory : Factory
15
15
var channel : ChatChannel
16
16
var message : ChatMessage
17
+ var replyCount : Int
17
18
18
19
var threadDestination : Factory . MessageThreadDestination {
19
20
let threadDestination = factory. makeMessageThreadDestination ( )
@@ -31,7 +32,7 @@ struct MessageRepliesView<Factory: ViewFactory>: View {
31
32
size: . init( width: 16 , height: 16 )
32
33
)
33
34
}
34
- Text ( " \( message . replyCount) \( repliesText) " )
35
+ Text ( " \( replyCount) \( repliesText) " )
35
36
. font ( fonts. footnoteBold)
36
37
if message. isSentByCurrentUser {
37
38
MessageAvatarView (
You can’t perform that action at this time.
0 commit comments