mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 03:26:22 +08:00
opt episode
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -2148,14 +2148,16 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
}
|
||||
|
||||
void changeEpisode(episode) {
|
||||
final isEpisode = episode is BaseEpisodeItem;
|
||||
final isPgc = episode is pgc.EpisodeItem;
|
||||
videoIntroController.changeSeasonOrbangu(
|
||||
episode is pgc.EpisodeItem ? episode.epId : null,
|
||||
episode.runtimeType.toString() == "EpisodeItem" ? episode.bvid : bvid,
|
||||
isPgc ? episode.epId : null,
|
||||
isEpisode ? episode.bvid : bvid,
|
||||
episode.cid,
|
||||
episode.runtimeType.toString() == "EpisodeItem" ? episode.aid : aid,
|
||||
isEpisode ? episode.aid : aid,
|
||||
episode is EpisodeItem
|
||||
? episode.arc?.pic
|
||||
: episode is pgc.EpisodeItem
|
||||
: isPgc
|
||||
? episode.cover
|
||||
: null,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user