Adds margin between the reply note and the text

This commit is contained in:
Vitor Pamplona
2023-04-04 12:35:42 -04:00
parent 02a9aaab60
commit a68ea1abe5
@@ -371,6 +371,7 @@ fun NoteComposeInner(
} else { } else {
ReplyInformation(note.replyTo, sortedMentions, account, navController) ReplyInformation(note.replyTo, sortedMentions, account, navController)
} }
Spacer(modifier = Modifier.height(5.dp))
} else if (!makeItShort && noteEvent is ChannelMessageEvent && (note.replyTo != null || noteEvent.mentions() != null)) { } else if (!makeItShort && noteEvent is ChannelMessageEvent && (note.replyTo != null || noteEvent.mentions() != null)) {
val sortedMentions = noteEvent.mentions() val sortedMentions = noteEvent.mentions()
.mapNotNull { LocalCache.checkGetOrCreateUser(it) } .mapNotNull { LocalCache.checkGetOrCreateUser(it) }
@@ -380,6 +381,7 @@ fun NoteComposeInner(
note.channel()?.let { note.channel()?.let {
ReplyInformationChannel(note.replyTo, sortedMentions, it, navController) ReplyInformationChannel(note.replyTo, sortedMentions, it, navController)
} }
Spacer(modifier = Modifier.height(5.dp))
} }
if (noteEvent is ReactionEvent || noteEvent is RepostEvent) { if (noteEvent is ReactionEvent || noteEvent is RepostEvent) {