mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
fix: rcmd data
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -35,9 +35,11 @@ class RcmdController extends PopupController {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
List? handleListResponse(List currentList, List dataList) {
|
List? handleListResponse(List currentList, List dataList) {
|
||||||
return currentPage == 0 && enableSaveLastData && currentList.length < 500
|
return currentPage == 0 &&
|
||||||
? dataList +
|
enableSaveLastData &&
|
||||||
(currentList.isEmpty ? <RecVideoItemAppModel>[] : currentList)
|
currentList.isNotEmpty &&
|
||||||
|
currentList.length < 500
|
||||||
|
? dataList + currentList
|
||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user