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

@@ -642,7 +642,7 @@ List<SettingsModel> get playSettings => [
subtitle: '展示同时在看人数',
leading: Icon(Icons.people_outlined),
setKey: SettingBoxKey.enableOnlineTotal,
defaultVal: true,
defaultVal: false,
),
SettingsModel(
settingsType: SettingsType.normal,
@@ -1636,7 +1636,7 @@ List<SettingsModel> get extraSettings => [
subtitle: '视频详情页开启AI总结',
leading: Icon(Icons.engineering_outlined),
setKey: SettingBoxKey.enableAi,
defaultVal: true,
defaultVal: false,
),
SettingsModel(
settingsType: SettingsType.sw1tch,

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;