Closes #25368: duplicate items in history

Change pagination to be based on loadSize of DataSource
pull/543/head
mike a 2 years ago committed by mergify[bot]
parent a0a02e5627
commit 3904cb9340

@ -33,7 +33,7 @@ class HistoryDataSource(
val nextOffset = if (historyItems.isEmpty()) {
null
} else {
historyItems.last().position + 1
offset + params.loadSize
}
return LoadResult.Page(
data = historyItems,

Loading…
Cancel
Save