Remove plain style layout (#2980)

This commit is contained in:
Mauro
2024-06-27 16:53:19 +02:00
committed by GitHub
parent 5b58ea30f6
commit 064b1bf224
122 changed files with 17 additions and 759 deletions
@@ -44,18 +44,6 @@ final class TextBasedRoomTimelineTests: XCTestCase {
XCTAssertEqual(timelineItem.additionalWhitespaces(timelineStyle: .bubbles), timestamp.count + 1)
}
func testTextRoomTimelineItemWhitespaceEndPlain() {
let timelineItem = TextRoomTimelineItem(id: .random,
timestamp: "Now",
isOutgoing: true,
isEditable: true,
canBeRepliedTo: true,
isThreaded: false,
sender: .init(id: UUID().uuidString),
content: .init(body: "Test"))
XCTAssertEqual(timelineItem.additionalWhitespaces(timelineStyle: .plain), 0)
}
func testTextRoomTimelineItemWhitespaceEndWithEdit() {
let timestamp = "Now"
var timelineItem = TextRoomTimelineItem(id: .random,