diff --git a/shared/src/commonMain/kotlin/com/prof18/feedflow/domain/feed/retriever/FeedRetrieverRepositoryImpl.kt b/shared/src/commonMain/kotlin/com/prof18/feedflow/domain/feed/retriever/FeedRetrieverRepositoryImpl.kt index 17027679..dacd97be 100644 --- a/shared/src/commonMain/kotlin/com/prof18/feedflow/domain/feed/retriever/FeedRetrieverRepositoryImpl.kt +++ b/shared/src/commonMain/kotlin/com/prof18/feedflow/domain/feed/retriever/FeedRetrieverRepositoryImpl.kt @@ -188,9 +188,9 @@ internal class FeedRetrieverRepositoryImpl( .plus( oldItems.filterNot { item -> items.any { it.id == item.id } - } + }, ) - .filter { !it.isRead } + .filterNot { it.isRead } .distinctBy { it.id } .sortedByDescending { it.pubDateMillis } .toList()