mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 21:46:30 +02:00
Allowing any BaseTextNote on the reply window
This commit is contained in:
@@ -2397,9 +2397,9 @@ private fun ReplyRow(
|
|||||||
) {
|
) {
|
||||||
val noteEvent = note.event
|
val noteEvent = note.event
|
||||||
|
|
||||||
val showReply by remember {
|
val showReply by remember(note) {
|
||||||
derivedStateOf {
|
derivedStateOf {
|
||||||
noteEvent is TextNoteEvent && (note.replyTo != null || noteEvent.hasAnyTaggedUser())
|
noteEvent is BaseTextNoteEvent && (note.replyTo != null || noteEvent.hasAnyTaggedUser())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user