mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-08 20:08:06 +02:00
Fixes order for the notification feed after refactoring
This commit is contained in:
parent
a8ad2437fe
commit
e0b667fd2d
@ -113,7 +113,6 @@ class CardFeedContentState(
|
||||
(oldNotesState.feed.value + newCards)
|
||||
.distinctBy { it.id() }
|
||||
.sortedWith(DefaultFeedOrderCard)
|
||||
.reversed()
|
||||
.take(localFilter.limit())
|
||||
.toImmutableList()
|
||||
|
||||
@ -128,7 +127,6 @@ class CardFeedContentState(
|
||||
val cards =
|
||||
convertToCard(notes)
|
||||
.sortedWith(DefaultFeedOrderCard)
|
||||
.reversed()
|
||||
.take(localFilter.limit())
|
||||
.toImmutableList()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user