Adds margin between the reply note and the text

pull/332/head
Vitor Pamplona 2023-04-04 12:35:42 -04:00
rodzic 02a9aaab60
commit a68ea1abe5
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -371,6 +371,7 @@ fun NoteComposeInner(
} else {
ReplyInformation(note.replyTo, sortedMentions, account, navController)
}
Spacer(modifier = Modifier.height(5.dp))
} else if (!makeItShort && noteEvent is ChannelMessageEvent && (note.replyTo != null || noteEvent.mentions() != null)) {
val sortedMentions = noteEvent.mentions()
.mapNotNull { LocalCache.checkGetOrCreateUser(it) }
@ -380,6 +381,7 @@ fun NoteComposeInner(
note.channel()?.let {
ReplyInformationChannel(note.replyTo, sortedMentions, it, navController)
}
Spacer(modifier = Modifier.height(5.dp))
}
if (noteEvent is ReactionEvent || noteEvent is RepostEvent) {