android, desktop: make space on chat bubble end consistent (#4946)

* android, desktop: make space on chat bubble end consistent

* use non breaking spaces for reserve space

* avoid first white space non breaking to not drag content down
This commit is contained in:
Diogo
2024-09-28 18:26:43 +01:00
committed by GitHub
parent d20d444e6e
commit fc83bc692a

View File

@@ -125,9 +125,9 @@ fun reserveSpaceForMeta(
showViaProxy: Boolean = false,
showTimestamp: Boolean
): String {
val iconSpace = " "
val whiteSpace = " "
var res = iconSpace
val iconSpace = " \u00A0\u00A0\u00A0"
val whiteSpace = "\u00A0"
var res = if (showTimestamp) "" else iconSpace
var space: String? = null
fun appendSpace() {