mod: update def settings

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-05 23:27:25 +08:00
parent 8ae92b859f
commit 22e6e19500
3 changed files with 5 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ class VideoIntroController extends GetxController
userLogin = userInfo != null;
lastPlayCid.value = int.parse(Get.parameters['cid']!);
isShowOnlineTotal = GStorage.setting
.get(SettingBoxKey.enableOnlineTotal, defaultValue: true);
.get(SettingBoxKey.enableOnlineTotal, defaultValue: false);
startTimer();
queryVideoIntro();
}

View File

@@ -152,7 +152,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
videoDetailCtr = Get.find<VideoDetailController>(tag: widget.heroTag);
videoItem = videoIntroController.videoItem!;
enableAi = GStorage.setting.get(SettingBoxKey.enableAi, defaultValue: true);
enableAi =
GStorage.setting.get(SettingBoxKey.enableAi, defaultValue: false);
if (videoIntroController.expandableCtr == null) {
bool alwaysExapndIntroPanel = GStorage.alwaysExapndIntroPanel;