直线列表页面适配中英 3445/1 3445/head 3449/target/1
authorluozheng <1732036298@qq.com>
Tue, 9 Jun 2026 02:57:27 +0000 (10:57 +0800)
committerluozheng <1732036298@qq.com>
Tue, 9 Jun 2026 02:57:27 +0000 (10:57 +0800)
code/sdk/application/wearable/n9/nativeapp/nativeui/applist/src/AppItemView.cpp

index 30e7d61..c7ee7ca 100644 (file)
@@ -57,7 +57,8 @@ namespace OHOS {
     {
         itemInfo_ = itemInfo;
         icon_.SetSrc(itemInfo.iconSmall);
-        label_.SetText(itemInfo.label);
+        // label_.SetText(itemInfo.label);
+        label_.SetTextId(itemInfo.labelId);
     }
 
     AppViewId AppItemView::GetViewId()