mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 16:30:49 +00:00
Corrects the starting point to show reactions on messages.
This commit is contained in:
parent
f941397cc4
commit
2c54ba1a92
@ -304,7 +304,10 @@ fun NormalChatNote(
|
||||
|
||||
val modif2 = if (innerQuote) Modifier else ChatBubbleMaxSizeModifier
|
||||
|
||||
val showDetails = remember { mutableStateOf(false) }
|
||||
val showDetails =
|
||||
remember {
|
||||
mutableStateOf(note.zaps.isNotEmpty() || note.zapPayments.isNotEmpty() || note.reactions.isNotEmpty())
|
||||
}
|
||||
|
||||
val clickableModifier =
|
||||
remember {
|
||||
@ -447,7 +450,7 @@ private fun MessageBubbleLines(
|
||||
nav = nav,
|
||||
)
|
||||
|
||||
if (showDetails.value || baseNote.zaps.isNotEmpty() || baseNote.zapPayments.isNotEmpty() || baseNote.reactions.isNotEmpty()) {
|
||||
if (showDetails.value) {
|
||||
ConstrainedStatusRow(
|
||||
bubbleSize = bubbleSize,
|
||||
availableBubbleSize = availableBubbleSize,
|
||||
|
Loading…
Reference in New Issue
Block a user