Block like breaks in the User Information block of the layout.

pull/3/head
Vitor Pamplona 2023-01-19 17:57:43 -05:00
rodzic 99f478d891
commit 2d46b17493
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -110,12 +110,13 @@ fun NoteCompose(baseNote: Note, modifier: Modifier = Modifier, isInnerNote: Bool
Column(modifier = Modifier.padding(start = if (!isInnerNote) 10.dp else 0.dp)) {
Row(verticalAlignment = Alignment.CenterVertically) {
if (author != null)
UsernameDisplay(author)
UsernameDisplay(author, Modifier.weight(1f))
if (note.event !is RepostEvent) {
Text(
timeAgo(note.event?.createdAt),
color = MaterialTheme.colors.onSurface.copy(alpha = 0.32f)
color = MaterialTheme.colors.onSurface.copy(alpha = 0.32f),
maxLines = 1
)
} else {
Text(