修复下载失败界面
authorxue <2144439972@qq.com>
Mon, 15 Dec 2025 11:05:45 +0000 (19:05 +0800)
committerxue <2144439972@qq.com>
Mon, 15 Dec 2025 11:05:45 +0000 (19:05 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/ota/src/OtaSuccessView.cpp

index 79800e9..69b5594 100644 (file)
@@ -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;
         }