mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-17 06:40:13 +08:00
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user