Allowing any BaseTextNote on the reply window

This commit is contained in:
Vitor Pamplona
2023-08-25 17:47:01 -04:00
parent 53b0db61ea
commit b7c9b14b1f

View File

@@ -2397,9 +2397,9 @@ private fun ReplyRow(
) {
val noteEvent = note.event
val showReply by remember {
val showReply by remember(note) {
derivedStateOf {
noteEvent is TextNoteEvent && (note.replyTo != null || noteEvent.hasAnyTaggedUser())
noteEvent is BaseTextNoteEvent && (note.replyTo != null || noteEvent.hasAnyTaggedUser())
}
}