mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 08:06:21 +08:00
opt: query history
Closes #578 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -66,7 +66,7 @@ class HistoryController extends MultiSelectController
|
|||||||
@override
|
@override
|
||||||
bool customHandleResponse(Success response) {
|
bool customHandleResponse(Success response) {
|
||||||
HistoryData data = response.response;
|
HistoryData data = response.response;
|
||||||
isEnd = data.list.isNullOrEmpty || data.list!.length < 20;
|
isEnd = data.list.isNullOrEmpty;
|
||||||
max = data.list?.lastOrNull?.history.oid;
|
max = data.list?.lastOrNull?.history.oid;
|
||||||
viewAt = data.list?.lastOrNull?.viewAt;
|
viewAt = data.list?.lastOrNull?.viewAt;
|
||||||
if (currentPage == 1) {
|
if (currentPage == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user