Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-23 17:45:23 +08:00
parent 0957dfc66e
commit 2220372e4f
43 changed files with 99 additions and 96 deletions

View File

@@ -544,7 +544,7 @@ class _DownloadPanelState extends State<DownloadPanel> {
onTap: () {
showConfirmDialog(
context: context,
title: '确定缓存全部?',
title: const Text('确定缓存全部?'),
onConfirm: () {
for (int i = 0; i < widget.episodes.length; i++) {
_onDownload(

View File

@@ -674,9 +674,10 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
if (!mounted) return;
final confirmed = await showConfirmDialog(
context: context,
title: '空降助手:搬运视频同步',
content:
'${hasPortVideo ? "" : "是否将"}该视频${hasPortVideo ? "" : ""}绑定到此YouTube视频($ytbId)',
title: const Text('空降助手:搬运视频同步'),
content: Text(
'${hasPortVideo ? "" : "是否将"}该视频${hasPortVideo ? "" : ""}绑定到此YouTube视频($ytbId)',
),
);
if (!hasPortVideo && confirmed) {
final res = await SponsorBlock.postPortVideo(

View File

@@ -288,7 +288,7 @@ class _MediaListPanelState extends State<MediaListPanel>
customBorder: const CircleBorder(),
onTap: () => showConfirmDialog(
context: context,
title: '确定移除该视频?',
title: const Text('确定移除该视频?'),
onConfirm: () => widget.onDelete!(item, index),
),
onLongPress: () => widget.onDelete!(item, index),