Remove layout styling abstraction (#2982)

This commit is contained in:
Mauro
2024-06-27 18:25:25 +02:00
committed by GitHub
parent 064b1bf224
commit b7345aafca
22 changed files with 29 additions and 126 deletions
@@ -68,10 +68,7 @@ extension EventBasedTimelineItemProtocol {
}
}
func additionalWhitespaces(timelineStyle: TimelineStyle) -> Int {
guard timelineStyle == .bubbles else {
return 0
}
func additionalWhitespaces() -> Int {
var whiteSpaces = 1
localizedSendInfo.forEach { _ in
whiteSpaces += 1