From f6d88f5482a4179dc4c6c26ee8c30a1a759adaff Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Tue, 20 May 2025 18:01:28 +0800 Subject: [PATCH] =?utf8?q?=E8=A7=A3=E5=86=B3applist=E5=BC=A7=E5=BD=A2?= =?utf8?q?=E5=88=97=E8=A1=A8JS=E5=BA=94=E7=94=A8=E5=90=8D=E5=AD=97?= =?utf8?q?=E8=A2=AB=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230/nativeapp/nativeui/applist/src/AppItemView.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/AppItemView.cpp b/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/AppItemView.cpp index ec023382c..8663911cf 100644 --- a/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/AppItemView.cpp +++ b/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/AppItemView.cpp @@ -173,7 +173,12 @@ namespace OHOS { { itemInfo_ = itemInfo; image_->SetSrc(itemInfo.iconSmall); - label_->SetTextId(itemInfo.TextId); + if(VIEW_EXTERN_APP != itemInfo.id) { + label_->SetTextId(itemInfo.TextId); + } else { + // printf("ArcScaleListItemView::SetItemInfo:%s\r\n",itemInfo.label); + label_->SetText(itemInfo.label); + } } void ArcScaleListItemView::SetUpChild() -- 2.17.1