From: xue <2144439972@qq.com> Date: Mon, 15 Dec 2025 11:05:45 +0000 (+0800) Subject: 修复下载失败界面 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=23b8f2bfb7d89890336ad6f5ed84ddda8311d1ae;p=mirrors%2FFD230.git 修复下载失败界面 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/ota/src/OtaSuccessView.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/ota/src/OtaSuccessView.cpp index 79800e937..69b5594e7 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/ota/src/OtaSuccessView.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/ota/src/OtaSuccessView.cpp @@ -127,6 +127,7 @@ namespace OHOS if(content == "下载失败") { RemindIcon1->SetSrc("/user/res/warning.bin"); + RemindLabel->SetPosition(136, 275, 88, 25); RemindLabel->SetText("按 退出"); TextLabel->SetText(content.c_str()); LittleTextLabel->SetText("请在小程序重新下载\n继续下载失败的文件"); @@ -135,6 +136,7 @@ namespace OHOS LittleTextLabel->Invalidate(); RemindLabel->Invalidate(); RemindIcon1->Invalidate(); + RemindIcon->SetVisible(true); return; }