Fixes double mention to Community headers when seeing a reply to a community post.
This commit is contained in:
@@ -684,7 +684,7 @@ fun RenderRepost(
|
|||||||
accountViewModel: AccountViewModel,
|
accountViewModel: AccountViewModel,
|
||||||
nav: (String) -> Unit,
|
nav: (String) -> Unit,
|
||||||
) {
|
) {
|
||||||
note.replyTo?.lastOrNull()?.let {
|
note.replyTo?.lastOrNull { it.event !is CommunityDefinitionEvent }?.let {
|
||||||
NoteCompose(
|
NoteCompose(
|
||||||
it,
|
it,
|
||||||
modifier = Modifier,
|
modifier = Modifier,
|
||||||
|
|||||||
Reference in New Issue
Block a user