mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-28 03:58:39 +00:00
opt rcmd
Closes #2208 Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -10,6 +10,9 @@ class RcmdController extends CommonListController {
|
||||
int? lastRefreshAt;
|
||||
late bool savedRcmdTip = Pref.savedRcmdTip;
|
||||
|
||||
@override
|
||||
bool get isEnd => false;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
@@ -24,6 +27,11 @@ class RcmdController extends CommonListController {
|
||||
: VideoHttp.rcmdVideoList(freshIdx: page, ps: 20);
|
||||
}
|
||||
|
||||
@override
|
||||
bool handleError(String? errMsg) {
|
||||
return enableSaveLastData;
|
||||
}
|
||||
|
||||
@override
|
||||
void handleListResponse(List dataList) {
|
||||
if (enableSaveLastData && page == 0) {
|
||||
|
||||
Reference in New Issue
Block a user