Updated on 2026-08-14
This commit is contained in:
parent
933003fac6
commit
1b469c093c
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ internal class DefaultNewsRepository(
|
|||
articlesToUpdate.map { article ->
|
||||
val isViewed = viewedFlags[article.id] == true
|
||||
article.copy(viewed = isViewed)
|
||||
}.sortedBy { it.viewed }
|
||||
}
|
||||
}
|
||||
.map<List<ShortArticle>, Either<Throwable, List<ShortArticle>>> { it.right() }
|
||||
.catch { emit(it.left()) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue