mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -27,8 +27,8 @@ class RcmdController extends CommonListController {
|
||||
|
||||
@override
|
||||
void handleListResponse(List dataList) {
|
||||
if (enableSaveLastData && page == 0 && loadingState.value is Success) {
|
||||
List? currentList = (loadingState.value as Success).response;
|
||||
if (enableSaveLastData && page == 0 && loadingState.value.isSuccess) {
|
||||
List? currentList = loadingState.value.data;
|
||||
if (currentList?.isNotEmpty == true) {
|
||||
if (savedRcmdTip) {
|
||||
lastRefreshAt = dataList.length;
|
||||
|
||||
Reference in New Issue
Block a user