Reduces the max grouped reactions on Notifications to 30 to increase speed of scroll.
This commit is contained in:
@@ -184,7 +184,7 @@ open class CardFeedViewModel(val localFilter: FeedFilter<Note>) : ViewModel() {
|
|||||||
.sortedWith(compareBy({ it.createdAt() }, { it.idHex }))
|
.sortedWith(compareBy({ it.createdAt() }, { it.idHex }))
|
||||||
.reversed()
|
.reversed()
|
||||||
|
|
||||||
singleList.chunked(50).map { chunk ->
|
singleList.chunked(30).map { chunk ->
|
||||||
MultiSetCard(
|
MultiSetCard(
|
||||||
baseNote,
|
baseNote,
|
||||||
boostsInCard.filter { it in chunk }.toImmutableList(),
|
boostsInCard.filter { it in chunk }.toImmutableList(),
|
||||||
|
|||||||
Reference in New Issue
Block a user