opt handle res

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-29 17:17:35 +08:00
parent b643cb1bd0
commit 924d51d41b
198 changed files with 3715 additions and 2001 deletions

View File

@@ -50,7 +50,7 @@ class FavVideoCardH extends StatelessWidget {
String? epId;
if (videoItem.type == 24) {
videoItem.cid = await SearchHttp.ab2c(bvid: bvid);
dynamic seasonId = videoItem.ogv!['season_id'];
dynamic seasonId = videoItem.ogv!.seasonId;
epId = videoItem.epId;
PageUtils.viewBangumi(seasonId: seasonId, epId: epId);
return;
@@ -111,7 +111,7 @@ class FavVideoCardH extends StatelessWidget {
type: PBadgeType.gray,
),
PBadge(
text: videoItem.ogv?['type_name'],
text: videoItem.ogv?.typeName,
top: 6.0,
right: 6.0,
bottom: null,