opt video header

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-30 18:40:02 +08:00
parent 0df637fb73
commit ed6353e6d5
8 changed files with 244 additions and 216 deletions

View File

@@ -88,7 +88,7 @@ class _BottomControlState extends State<BottomControl> with HeaderMixin {
Obx(
() {
final enableShowLiveDanmaku =
plPlayerController.enableShowDanmaku.value;
plPlayerController.enableShowLiveDanmaku.value;
return ComBtn(
height: 30,
tooltip: "${enableShowLiveDanmaku ? '关闭' : '开启'}弹幕",
@@ -105,7 +105,7 @@ class _BottomControlState extends State<BottomControl> with HeaderMixin {
),
onTap: () {
final newVal = !enableShowLiveDanmaku;
plPlayerController.enableShowDanmaku.value = newVal;
plPlayerController.enableShowLiveDanmaku.value = newVal;
if (!plPlayerController.tempPlayerConf) {
GStorage.setting.put(
SettingBoxKey.enableShowLiveDanmaku,