feat: 相关视频推荐开关 issues #585

This commit is contained in:
guozhigq
2024-03-11 23:31:20 +08:00
parent 3ece2bb173
commit 99e6abdad9
4 changed files with 15 additions and 3 deletions

View File

@ -521,7 +521,10 @@ class _VideoDetailPageState extends State<VideoDetailPage>
.withOpacity(0.06),
),
),
const RelatedVideoPanel(),
if (videoDetailController.videoType ==
SearchType.video &&
videoDetailController.enableRelatedVideo)
const RelatedVideoPanel(),
],
);
},