Render the number of thread replies on the thread summary timeline view.

This commit is contained in:
Stefan Ceriu
2025-06-12 15:26:57 +03:00
committed by Stefan Ceriu
parent f66d654820
commit 5315f962c6
19 changed files with 114 additions and 63 deletions
@@ -419,7 +419,8 @@ struct TimelineItemBubbledStylerView_Previews: PreviewProvider, TestablePreview
ScrollView {
let threadSummary = TimelineItemThreadSummary.loaded(senderID: "@alice:matrix.org",
sender: .init(id: "@alice:matrix.org", displayName: "Alice"),
latestEventContent: .message(.text(.init(body: "This is a very long, multi-lined, threaded message"))))
latestEventContent: .message(.text(.init(body: "This is a very long, multi-lined, threaded message"))),
numberOfReplies: 42)
MockTimelineContent(threadSummary: threadSummary)
}