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 9a91e0fbc1
commit 6c229170e1

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))