mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: save rcmd
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -39,7 +39,7 @@ class RcmdController extends CommonController {
|
||||
bool shouldSaveLast = enableSaveLastData && currentPage == 0;
|
||||
if (shouldSaveLast) {
|
||||
int length = currentList.length;
|
||||
shouldSaveLast = shouldSaveLast && length > 0 && length < 500;
|
||||
shouldSaveLast = length > 0 && length < 500;
|
||||
}
|
||||
lastRefreshAt = shouldSaveLast && savedRcmdTip ? dataList.length : null;
|
||||
return shouldSaveLast ? dataList + currentList : null;
|
||||
|
||||
Reference in New Issue
Block a user