From 592b9fedb969b3034d660d939ccf5c794e6fff56 Mon Sep 17 00:00:00 2001 From: 1831553190 <1831553190@qq.com> Date: Sat, 5 Mar 2022 23:08:32 +0800 Subject: [PATCH] Fixed the wrong offset (#6704) --- .../eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt index 26c4f42825..e0b8a206a0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt @@ -152,7 +152,7 @@ class HistoryController : return } val adapter = adapter ?: return - presenter.requestNext(adapter.itemCount, query) + presenter.requestNext(adapter.itemCount - adapter.headerItems.size, query) } override fun noMoreLoad(newItemsSize: Int) {}