BugFix for the position of time in the feed.

pull/3/head
Vitor Pamplona 2023-01-19 21:39:43 -05:00
rodzic 0017845de2
commit e47476129f
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -15,6 +15,9 @@ fun UsernameDisplay(user: User, weight: Modifier = Modifier) {
Text(
"@${(user.bestUsername() ?: "")}",
fontWeight = FontWeight.Bold,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = weight
)
} else {
Text(
@ -33,6 +36,9 @@ fun UsernameDisplay(user: User, weight: Modifier = Modifier) {
Text(
user.pubkeyDisplayHex,
fontWeight = FontWeight.Bold,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = weight
)
}
}