fix: rcmd list

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-19 10:34:52 +08:00
parent 60b6a1296e
commit 43dc130e4b
2 changed files with 5 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ class RcmdController extends PopupController {
@override
List? handleListResponse(List currentList, List dataList) {
return currentPage == 1 && enableSaveLastData
return currentPage == 0 && enableSaveLastData && currentList.length < 500
? dataList +
(currentList.isEmpty ? <RecVideoItemAppModel>[] : currentList)
: null;