mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 07:15:51 +08:00
opt download (#1755)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1885,9 +1885,10 @@ class VideoDetailController extends GetxController
|
||||
if (!context.mounted) {
|
||||
return;
|
||||
}
|
||||
final Set<int?> cidSet = downloadService.downloadList
|
||||
.map((e) => e.cid)
|
||||
.toSet();
|
||||
final Set<int?> cidSet =
|
||||
(downloadService.downloadList + downloadService.waitDownloadQueue)
|
||||
.map((e) => e.cid)
|
||||
.toSet();
|
||||
final index = episodes!.indexWhere(
|
||||
(e) => e.cid == (seasonCid ?? cid.value),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user