mirror of https://github.com/Ashinch/ReadYou.git
fix(ui): load new items from paging data
This commit is contained in:
parent
37835a4964
commit
f06d8ce05e
|
@ -24,7 +24,7 @@ fun LazyListScope.ArticleList(
|
|||
onSwipeEndToStart: ((ArticleWithFeed) -> Unit)? = null,
|
||||
) {
|
||||
for (index in 0 until pagingItems.itemCount) {
|
||||
when (val item = pagingItems.peek(index)) {
|
||||
when (val item = pagingItems[index]) {
|
||||
is ArticleFlowItem.Article -> {
|
||||
item(key = item.articleWithFeed.article.id) {
|
||||
// if (item.articleWithFeed.article.isUnread) {
|
||||
|
|
Loading…
Reference in New Issue