mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Render the number of thread replies on the thread summary timeline view.
This commit is contained in:
committed by
Stefan Ceriu
parent
f66d654820
commit
5315f962c6
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user