fix: video page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-26 18:53:31 +08:00
parent f479fc37ba
commit 25a3046c3c
4 changed files with 22 additions and 34 deletions

View File

@@ -59,17 +59,8 @@ class FavVideoCardH extends StatelessWidget {
}
}
Map<String, String> parameters = {
'bvid': bvid,
'cid': videoItem.cid.toString(),
if (epId?.isNotEmpty == true) 'epId': epId!,
};
// if (seasonId != null) {
// parameters['seasonId'] = seasonId.toString();
// }
Utils.toViewPage(
'',
parameters: parameters,
'bvid=$bvid&cid=${videoItem.cid}${epId?.isNotEmpty == true ? '&epId=$epId' : ''}',
arguments: {
'videoItem': videoItem,
'heroTag': Utils.makeHeroTag(id),