mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: view bangumi
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -44,8 +44,7 @@ class FavVideoCardH extends StatelessWidget {
|
||||
return;
|
||||
}
|
||||
String? epId;
|
||||
if (videoItem.ogv != null &&
|
||||
['番剧', '国创', '纪录片'].contains(videoItem.ogv['type_name'])) {
|
||||
if (videoItem.type == 24) {
|
||||
videoItem.cid = await SearchHttp.ab2c(bvid: bvid);
|
||||
dynamic seasonId = videoItem.ogv['season_id'];
|
||||
epId = videoItem.epId;
|
||||
|
||||
@@ -71,7 +71,7 @@ class HistoryItem extends StatelessWidget {
|
||||
} else {
|
||||
SmartDialog.showToast('直播未开播');
|
||||
}
|
||||
} else if (videoItem.badge == '番剧' ||
|
||||
} else if (videoItem.history?.business == 'pgc' ||
|
||||
videoItem.tagName.contains('动画')) {
|
||||
/// hack
|
||||
var bvid = videoItem.history.bvid;
|
||||
|
||||
Reference in New Issue
Block a user