fix: view documentary

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-29 11:11:40 +08:00
parent b6217f6e6e
commit 882f16bdab

View File

@@ -42,8 +42,7 @@ class FavVideoCardH extends StatelessWidget {
}
String? epId;
if (videoItem.ogv != null &&
(videoItem.ogv['type_name'] == '番剧' ||
videoItem.ogv['type_name'] == '国创')) {
['番剧', '国创', '纪录片'].contains(videoItem.ogv['type_name'])) {
videoItem.cid = await SearchHttp.ab2c(bvid: bvid);
dynamic seasonId = videoItem.ogv['season_id'];
epId = videoItem.epId;