Merge pull request #1681 from davotoula/feature/display-zapraise
Enabled the reactions expand control for zapraisers even when there are no zaps
This commit is contained in:
@@ -415,7 +415,9 @@ private fun WatchReactionsZapsBoostsAndDisplayIfExists(
|
|||||||
) {
|
) {
|
||||||
val hasReactions by observeNoteReferences(baseNote, accountViewModel)
|
val hasReactions by observeNoteReferences(baseNote, accountViewModel)
|
||||||
|
|
||||||
if (hasReactions) {
|
val hasZapraiser = (baseNote.event?.zapraiserAmount() ?: 0) > 0
|
||||||
|
|
||||||
|
if (hasReactions || hasZapraiser) {
|
||||||
content()
|
content()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user