mirror of
https://github.com/Ashinch/ReadYou.git
synced 2025-02-01 20:07:24 +01:00
Revert "fix(ui): load new items from paging data"
This reverts commit f06d8ce05e1028e906374523541b4a6c36d2577c.
This commit is contained in:
parent
098ec08663
commit
fab99b27a1
@ -28,7 +28,7 @@ fun LazyListScope.ArticleList(
|
||||
onShare: ((ArticleWithFeed) -> Unit)? = null,
|
||||
) {
|
||||
for (index in 0 until pagingItems.itemCount) {
|
||||
when (val item = pagingItems[index]) {
|
||||
when (val item = pagingItems.peek(index)) {
|
||||
is ArticleFlowItem.Article -> {
|
||||
item(key = item.articleWithFeed.article.id) {
|
||||
SwipeableArticleItem(
|
||||
|
Loading…
x
Reference in New Issue
Block a user