fix: play all after multi select

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-28 19:55:05 +08:00
parent 0e253ecb83
commit 07307a666c
8 changed files with 19 additions and 17 deletions

View File

@@ -168,7 +168,8 @@ class LaterController extends MultiSelectController {
// 稍后再看播放全部
void toViewPlayAll() {
if (loadingState.value is Success) {
List<HotVideoItemModel> list = (loadingState.value as Success).response;
List<HotVideoItemModel> list = List<HotVideoItemModel>.from(
(loadingState.value as Success).response);
for (HotVideoItemModel item in list) {
if (item.cid == null) {
continue;