Keeping most items visible when grouping notification cards.

This commit is contained in:
Vitor Pamplona 2023-03-30 19:47:48 -04:00
parent 3193a5e0ef
commit 9fa3b1db34

View File

@ -110,7 +110,7 @@ open class CardFeedViewModel(val dataSource: FeedFilter<Note>) : ViewModel() {
val reactionsInCard = reactionsPerEvent[baseNote] ?: emptyList()
val zapsInCard = zapsPerEvent[baseNote] ?: emptyMap()
val singleList = (boostsInCard + zapsInCard.values + reactionsInCard).sortedBy { it.createdAt() }
val singleList = (boostsInCard + zapsInCard.values + reactionsInCard).sortedBy { it.createdAt() }.reversed()
singleList.chunked(50).map { chunk ->
MultiSetCard(
baseNote,