mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
@@ -68,7 +68,7 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
_controller.handleSelect();
|
||||
final list = <BiliDownloadEntryInfo>[];
|
||||
for (var page in allChecked) {
|
||||
list.addAll(page.entrys);
|
||||
list.addAll(page.entries);
|
||||
}
|
||||
final res = await Future.wait(
|
||||
list.map(
|
||||
@@ -181,8 +181,8 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
),
|
||||
itemBuilder: (context, index) {
|
||||
final item = _controller.pages[index];
|
||||
if (item.entrys.length == 1) {
|
||||
final entry = item.entrys.first;
|
||||
if (item.entries.length == 1) {
|
||||
final entry = item.entries.first;
|
||||
return DetailItem(
|
||||
entry: entry,
|
||||
progress: _progress,
|
||||
@@ -249,7 +249,7 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
title: '确定删除?',
|
||||
onConfirm: () async {
|
||||
await GStorage.watchProgress.deleteAll(
|
||||
pageInfo.entrys.map((e) => e.cid.toString()),
|
||||
pageInfo.entries.map((e) => e.cid.toString()),
|
||||
);
|
||||
_downloadService.deletePage(
|
||||
pageDirPath: pageInfo.dirPath,
|
||||
@@ -267,7 +267,7 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
onTap: () async {
|
||||
Get.back();
|
||||
final res = await Future.wait(
|
||||
pageInfo.entrys.map(
|
||||
pageInfo.entries.map(
|
||||
(e) => _downloadService.downloadDanmaku(
|
||||
entry: e,
|
||||
isUpdate: true,
|
||||
@@ -291,7 +291,7 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
);
|
||||
},
|
||||
);
|
||||
final first = pageInfo.entrys.first;
|
||||
final first = pageInfo.entries.first;
|
||||
return Material(
|
||||
type: MaterialType.transparency,
|
||||
child: InkWell(
|
||||
@@ -332,7 +332,7 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
),
|
||||
),
|
||||
PBadge(
|
||||
text: '${pageInfo.entrys.length}个视频',
|
||||
text: '${pageInfo.entries.length}个视频',
|
||||
right: 6.0,
|
||||
bottom: 6.0,
|
||||
isBold: false,
|
||||
@@ -391,7 +391,7 @@ class _DownloadPageState extends State<DownloadPage> {
|
||||
)
|
||||
else
|
||||
const Spacer(),
|
||||
pageInfo.entrys.first.moreBtn(theme),
|
||||
pageInfo.entries.first.moreBtn(theme),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user