Increase padding in error case

This commit is contained in:
Benoit Marty
2023-06-26 12:20:15 +02:00
committed by Benoit Marty
parent 6330a797aa
commit c62f588369

View File

@@ -46,7 +46,7 @@ fun TimelineItem.Event.toExtraPadding(): ExtraPadding {
}
strLen += formattedTime.length
if (hasMessageSendingFailed) {
strLen += 3
strLen += 5
}
// A space and a few unbreakable spaces
return ExtraPadding(" " + "\u00A0".repeat(strLen))