mod: 合集按钮展示逻辑
This commit is contained in:
@ -178,10 +178,16 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
if (isFullScreen) {
|
if (isFullScreen) {
|
||||||
vdCtr.hiddenReplyReplyPanel();
|
vdCtr.hiddenReplyReplyPanel();
|
||||||
videoIntroController.hiddenEpisodeBottomSheet();
|
videoIntroController.hiddenEpisodeBottomSheet();
|
||||||
|
if (videoIntroController.videoDetail.value.ugcSeason != null ||
|
||||||
|
(videoIntroController.videoDetail.value.pages != null &&
|
||||||
|
videoIntroController.videoDetail.value.pages!.length > 1)) {
|
||||||
vdCtr.bottomList.insert(3, BottomControlType.episode);
|
vdCtr.bottomList.insert(3, BottomControlType.episode);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (vdCtr.bottomList.contains(BottomControlType.episode)) {
|
||||||
vdCtr.bottomList.removeAt(3);
|
vdCtr.bottomList.removeAt(3);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user