Reduces the max grouped reactions on Notifications to 30 to increase speed of scroll.

This commit is contained in:
Vitor Pamplona 2023-07-01 11:58:40 -04:00
parent 044d47adad
commit 1d5dfbfd29

View File

@ -184,7 +184,7 @@ open class CardFeedViewModel(val localFilter: FeedFilter<Note>) : ViewModel() {
.sortedWith(compareBy({ it.createdAt() }, { it.idHex }))
.reversed()
singleList.chunked(50).map { chunk ->
singleList.chunked(30).map { chunk ->
MultiSetCard(
baseNote,
boostsInCard.filter { it in chunk }.toImmutableList(),