mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 12:54:35 +00:00
Increase padding in error case
This commit is contained in:
committed by
Benoit Marty
parent
9a91e0fbc1
commit
6c229170e1
+1
-1
@@ -46,7 +46,7 @@ fun TimelineItem.Event.toExtraPadding(): ExtraPadding {
|
|||||||
}
|
}
|
||||||
strLen += formattedTime.length
|
strLen += formattedTime.length
|
||||||
if (hasMessageSendingFailed) {
|
if (hasMessageSendingFailed) {
|
||||||
strLen += 3
|
strLen += 5
|
||||||
}
|
}
|
||||||
// A space and a few unbreakable spaces
|
// A space and a few unbreakable spaces
|
||||||
return ExtraPadding(" " + "\u00A0".repeat(strLen))
|
return ExtraPadding(" " + "\u00A0".repeat(strLen))
|
||||||
|
|||||||
Reference in New Issue
Block a user