Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-20 10:00:42 +08:00
parent 488ca29fc1
commit 340a933e70
6 changed files with 43 additions and 46 deletions

View File

@@ -75,7 +75,7 @@ class BottomControl extends StatelessWidget {
Obx(
() {
final enableShowLiveDanmaku =
plPlayerController.enableShowLiveDanmaku.value;
plPlayerController.enableShowDanmaku.value;
return ComBtn(
tooltip: "${enableShowLiveDanmaku ? '关闭' : '开启'}弹幕",
icon: enableShowLiveDanmaku
@@ -91,7 +91,7 @@ class BottomControl extends StatelessWidget {
),
onTap: () {
final newVal = !enableShowLiveDanmaku;
plPlayerController.enableShowLiveDanmaku.value = newVal;
plPlayerController.enableShowDanmaku.value = newVal;
if (!plPlayerController.tempPlayerConf) {
GStorage.setting.put(
SettingBoxKey.enableShowLiveDanmaku,