mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +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
|
||||
List? handleListResponse(List currentList, List dataList) {
|
||||
return currentPage == 0 && enableSaveLastData && currentList.length < 500
|
||||
? dataList +
|
||||
(currentList.isEmpty ? <RecVideoItemAppModel>[] : currentList)
|
||||
return currentPage == 0 &&
|
||||
enableSaveLastData &&
|
||||
currentList.isNotEmpty &&
|
||||
currentList.length < 500
|
||||
? dataList + currentList
|
||||
: null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user