Allowing any BaseTextNote on the reply window

pull/553/head
Vitor Pamplona 2023-08-25 17:47:01 -04:00
rodzic 53b0db61ea
commit b7c9b14b1f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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())
}
}