Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-18 16:33:33 +08:00
parent 64e893e36f
commit cef7e478f5
19 changed files with 492 additions and 456 deletions

View File

@@ -1490,6 +1490,13 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
? ugcIntroController
: pgcIntroController,
onSendDanmaku: videoDetailController.showShootDanmakuSheet,
canPlay: () {
if (videoDetailController.autoPlay.value) {
return true;
}
handlePlay();
return false;
},
child: child,
);
return videoDetailController.plPlayerController.darkVideoPage
@@ -1627,8 +1634,8 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
icon: Icon(
size: 22,
enableShowDanmaku
? CustomIcon.dm_on
: CustomIcon.dm_off,
? CustomIcons.dm_on
: CustomIcons.dm_off,
color: enableShowDanmaku
? themeData.colorScheme.secondary
: themeData.colorScheme.outline,