kopia lustrzana https://github.com/vitorpamplona/amethyst
Allowing any BaseTextNote on the reply window
rodzic
53b0db61ea
commit
b7c9b14b1f
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue