Skip to content

Commit

Permalink
Fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
prof18 committed Sep 10, 2023
1 parent c63ea7e commit e98f8a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e98f8a5

Please sign in to comment.