From: luozheng <1732036298@qq.com> Date: Wed, 28 Aug 2024 12:48:17 +0000 (+0800) Subject: 手电筒界面修改去掉“线” X-Git-Tag: release_V1.2.70_20241020_135402~563^2~8 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F815%2Fhead;p=mirrors%2FFD230.git 手电筒界面修改去掉“线” --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/flashlight/src/FlashlightView.cpp b/code/sdk/application/wearable/fd230app/nativeui/flashlight/src/FlashlightView.cpp index 60bc2b7ea..f0e7a31c4 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/flashlight/src/FlashlightView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/flashlight/src/FlashlightView.cpp @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-04-10 17:32:08 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-06-07 18:04:33 + * @LastEditTime: 2024-08-28 20:47:00 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/flashligh/src/FlashlightView.cpp */ #include "flashlight/include/FlashlightView.h" @@ -86,6 +86,7 @@ namespace OHOS LineImage->SetPosition(193, 430, 80, 8); LineImage->SetStyle(STYLE_BACKGROUND_COLOR, 0xffdddddd); LineImage->SetStyle(STYLE_BACKGROUND_OPA, 0xff); + LineImage->SetVisible(false); } }