mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: update settings
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -335,14 +335,14 @@ class _ExtraSettingState extends State<ExtraSetting> {
|
|||||||
defaultVal: false,
|
defaultVal: false,
|
||||||
),
|
),
|
||||||
const SetSwitchItem(
|
const SetSwitchItem(
|
||||||
title: '启用ai总结',
|
title: '启用AI总结',
|
||||||
subTitle: '视频详情页开启ai总结',
|
subTitle: '视频详情页开启AI总结',
|
||||||
leading: Icon(Icons.engineering_outlined),
|
leading: Icon(Icons.engineering_outlined),
|
||||||
setKey: SettingBoxKey.enableAi,
|
setKey: SettingBoxKey.enableAi,
|
||||||
defaultVal: true,
|
defaultVal: true,
|
||||||
),
|
),
|
||||||
const SetSwitchItem(
|
const SetSwitchItem(
|
||||||
title: '消息页禁用“收到的赞”功能',
|
title: '消息页禁用"收到的赞"功能',
|
||||||
subTitle: '禁止打开入口,降低网络社交依赖',
|
subTitle: '禁止打开入口,降低网络社交依赖',
|
||||||
leading: Icon(Icons.beach_access_outlined),
|
leading: Icon(Icons.beach_access_outlined),
|
||||||
setKey: SettingBoxKey.disableLikeMsg,
|
setKey: SettingBoxKey.disableLikeMsg,
|
||||||
@@ -350,7 +350,7 @@ class _ExtraSettingState extends State<ExtraSetting> {
|
|||||||
),
|
),
|
||||||
const SetSwitchItem(
|
const SetSwitchItem(
|
||||||
title: '默认展示评论区',
|
title: '默认展示评论区',
|
||||||
subTitle: '在视频详情页默认切换至评论区页(仅tab型布局)',
|
subTitle: '在视频详情页默认切换至评论区页(仅Tab型布局)',
|
||||||
leading: Icon(Icons.mode_comment_outlined),
|
leading: Icon(Icons.mode_comment_outlined),
|
||||||
setKey: SettingBoxKey.defaultShowComment,
|
setKey: SettingBoxKey.defaultShowComment,
|
||||||
defaultVal: false,
|
defaultVal: false,
|
||||||
|
|||||||
@@ -97,6 +97,9 @@ class _SponsorBlockPageState extends State<SponsorBlockPage> {
|
|||||||
controller: _textController,
|
controller: _textController,
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
decoration: InputDecoration(suffixText: 's'),
|
decoration: InputDecoration(suffixText: 's'),
|
||||||
|
inputFormatters: [
|
||||||
|
FilteringTextInputFormatter.allow(RegExp(r'[\d\.]+')),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
@@ -541,7 +544,7 @@ class _SponsorBlockPageState extends State<SponsorBlockPage> {
|
|||||||
_dividerL,
|
_dividerL,
|
||||||
SliverToBoxAdapter(
|
SliverToBoxAdapter(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 25 + MediaQuery.paddingOf(context).bottom,
|
height: 55 + MediaQuery.paddingOf(context).bottom,
|
||||||
)),
|
)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -780,7 +780,7 @@ class VideoIntroController extends GetxController
|
|||||||
|
|
||||||
// ai总结
|
// ai总结
|
||||||
Future aiConclusion() async {
|
Future aiConclusion() async {
|
||||||
SmartDialog.showLoading(msg: '正在生产ai总结');
|
SmartDialog.showLoading(msg: '正在获取AI总结');
|
||||||
final res = await VideoHttp.aiConclusion(
|
final res = await VideoHttp.aiConclusion(
|
||||||
bvid: bvid,
|
bvid: bvid,
|
||||||
cid: lastPlayCid.value,
|
cid: lastPlayCid.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user