From c43c05bafcdc865ec9d94cefab6405c3f8b2b1f6 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Sat, 5 Oct 2024 17:52:55 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E8=AF=AD=E8=A8=80=E5=88=97?= =?utf8?q?=E8=A1=A8=EF=BC=8C=E8=A7=A3=E5=86=B3=E8=AF=AD=E8=A8=80=E5=88=97?= =?utf8?q?=E8=A1=A8=E6=9C=80=E5=90=8E=E4=B8=80=E9=A1=B9=E8=A2=AB=E9=81=AE?= =?utf8?q?=E6=8C=A1=E4=BD=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../languagecode/src/LanguageSwitchListitemView.cpp | 10 +++++++++- .../nativeui/player/src/MusicPlayerSourceView.cpp | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/languagecode/src/LanguageSwitchListitemView.cpp b/code/sdk/application/wearable/fd230app/nativeui/languagecode/src/LanguageSwitchListitemView.cpp index f59ca5de5..a8ed4faae 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/languagecode/src/LanguageSwitchListitemView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/languagecode/src/LanguageSwitchListitemView.cpp @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-03-28 14:28:03 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-09-27 15:35:26 + * @LastEditTime: 2024-10-05 17:39:04 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/languagecode/src/LanguageSwitchListitemView.cpp */ #include "languagecode/include/LanguageSwitchListitemView.h" @@ -39,6 +39,14 @@ namespace OHOS m_LabelButtonExt.SetFont(itemInfo.fontname, 30); languae_Image.SetSrc(itemInfo.path); //m_LabelButtonExt + if(strcmp(itemInfo.code,"az") == 0) + { + SetHeight(160); + } + else + { + SetHeight(120); + } } void LanguageSwitchListitemView::SetUpChild() diff --git a/code/sdk/application/wearable/fd230app/nativeui/player/src/MusicPlayerSourceView.cpp b/code/sdk/application/wearable/fd230app/nativeui/player/src/MusicPlayerSourceView.cpp index b08720589..0b5957965 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/player/src/MusicPlayerSourceView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/player/src/MusicPlayerSourceView.cpp @@ -513,7 +513,6 @@ namespace OHOS { bool state = SettingModel::GetInstance().GetEarPhoneConnectStatus(); bluetoothHeadsetConnectState->SetTextId(state ? STR_CONNECTED : STR_DISCONNECTED); - bluetoothHeadsetConnectState->SetTextId(state ? STR_CONNECTED : STR_DISCONNECTED); bluetoothHeadsetConnectState->SetTextColor(state ? Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff) : Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x7f)); bluetoothHeadsetConnectState->Invalidate(); } -- 2.17.1