mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 02:56:58 +08:00
mod: specify list type
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -17,11 +17,11 @@ class SysMsgController
|
||||
}
|
||||
|
||||
@override
|
||||
void handleListResponse(List dataList) {
|
||||
void handleListResponse(List<SystemNotifyList> dataList) {
|
||||
if (cursor == -1) {
|
||||
msgSysUpdateCursor(dataList.first?.cursor);
|
||||
msgSysUpdateCursor(dataList.first.cursor);
|
||||
}
|
||||
cursor = dataList.last?.cursor ?? -1;
|
||||
cursor = dataList.last.cursor ?? -1;
|
||||
if (isEnd.not && dataList.length + 1 < pageSize) {
|
||||
isEnd = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user