From 3d52b2c5c8a75caf497437bac56dd32c54f8b4ef Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 4 Jun 2026 11:17:23 +0800 Subject: [PATCH] =?utf8?q?=E5=B1=8F=E8=94=BD=E8=93=9D=E7=89=99=E8=80=B3?= =?utf8?q?=E6=9C=BA=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/player/src/MusicPlayerSourceView.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp index f02943741..4b42273c2 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp @@ -472,7 +472,7 @@ namespace OHOS } // UpdateBluetoothHeadsetConnectLabel(); - // UpdateBluetoothHeadSetViewIsVisible(); + UpdateBluetoothHeadSetViewIsVisible(); /* ----------------------------------- Add ---------------------------------- */ scrollView->Add(titleLabel); @@ -496,10 +496,14 @@ namespace OHOS bool value = PlayersModel::GetInstance()->GetMusicSource(); if (bluetoothHeadsetLabel && bluetoothHeadsetImage && bluetoothHeadsetLableButton && bluetoothHeadsetConnectState) { - bluetoothHeadsetLabel->SetVisible(value ? false : true); - bluetoothHeadsetImage->SetVisible(value ? false : true); - bluetoothHeadsetLableButton->SetVisible(value ? false : true); - bluetoothHeadsetConnectState->SetVisible(value ? false : true); + // bluetoothHeadsetLabel->SetVisible(value ? false : true); + // bluetoothHeadsetImage->SetVisible(value ? false : true); + // bluetoothHeadsetLableButton->SetVisible(value ? false : true); + // bluetoothHeadsetConnectState->SetVisible(value ? false : true); + bluetoothHeadsetLabel->SetVisible(false); + bluetoothHeadsetImage->SetVisible(false); + bluetoothHeadsetLableButton->SetVisible(false); + bluetoothHeadsetConnectState->SetVisible(false); } if (phoneLableButton && watchLableButton) { -- 2.17.1