fix: season with part

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-08 08:53:32 +08:00
parent 1c84b7a78c
commit 04a0e39980
4 changed files with 23 additions and 16 deletions

View File

@@ -520,10 +520,13 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
heroTag: heroTag,
ugcSeason: widget.videoDetail!.ugcSeason!,
cid: videoIntroController.lastPlayCid.value != 0
? videoIntroController.lastPlayCid.value
? (widget.videoDetail!.pages?.isNotEmpty == true
? widget.videoDetail!.pages!.first.cid
: videoIntroController.lastPlayCid.value)
: widget.videoDetail!.pages!.first.cid,
changeFuc: videoIntroController.changeSeasonOrbangu,
showEpisodes: widget.showEpisodes,
pages: widget.videoDetail!.pages,
),
)
],