Fixed the wrong offset (#6704)

(cherry picked from commit 592b9fedb969b3034d660d939ccf5c794e6fff56)
This commit is contained in:
1831553190 2022-03-05 23:08:32 +08:00 committed by Jobobby04
parent 2273a50920
commit 7c2283c962

View File

@ -152,7 +152,7 @@ class HistoryController :
return return
} }
val adapter = adapter ?: return val adapter = adapter ?: return
presenter.requestNext(adapter.itemCount, query) presenter.requestNext(adapter.itemCount - adapter.headerItems.size, query)
} }
override fun noMoreLoad(newItemsSize: Int) {} override fun noMoreLoad(newItemsSize: Int) {}