fix: change rcmd type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-18 21:43:13 +08:00
parent c2b02b9b8d
commit d86caac189
2 changed files with 9 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ import 'package:PiliPlus/utils/storage.dart';
class RcmdController extends CommonListController {
late bool enableSaveLastData = GStorage.setting
.get(SettingBoxKey.enableSaveLastData, defaultValue: false);
late bool appRcmd = true;
final bool appRcmd = GStorage.appRcmd;
int? lastRefreshAt;
late bool savedRcmdTip = GStorage.savedRcmdTip;
@@ -14,8 +14,6 @@ class RcmdController extends CommonListController {
@override
void onInit() {
super.onInit();
appRcmd = GStorage.appRcmd;
currentPage = 0;
queryData();
}