Fixed the wrong offset (#6704)

This commit is contained in:
1831553190 2022-03-05 23:08:32 +08:00 committed by GitHub
parent d06984e3a3
commit 592b9fedb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {}