Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-29 10:04:47 +01:00
parent 933003fac6
commit 1b469c093c

View file

@ -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()) }