Merge branch 'feature-hiddenRelateVideo'

This commit is contained in:
guozhigq
2024-03-14 00:15:24 +08:00
9 changed files with 92 additions and 103 deletions

View File

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