From: 彭磊 <1624952103@qq.com> Date: Tue, 10 Sep 2024 11:30:16 +0000 (+0000) Subject: Merge #932 into sdk602patch0626 from refs/changes/932/head X-Git-Tag: release_V1.2.70_20241020_135402~505^2 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=27650cb694440fcebef0a42c6f79e7bd7ac68400;p=mirrors%2FFD230.git Merge #932 into sdk602patch0626 from refs/changes/932/head Code review from 彭磊 * refs/changes/932/head: (3 commits squashed) - 修复距离 卡路里不清零的BUG - 修复黑曜表盘天气图标显示错误BUG - Merge branch 'sdk602patch0626' of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk602patch0626 Signed-off-by: aliyun6865282430 <1624952103@qq.com> Reviewed-by: snickersun@163.com Merged-by: snickersun@163.com CR-link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/932 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp index adade5b93..d549ea367 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelWeather.cpp @@ -28,7 +28,7 @@ namespace OHOS /*表盘更新天气Icon*/ void DialModelWeather::UpdateWeather(int16_t Weather) { - Weather_ = static_cast(Weather); + Weather_ = static_cast(Weather - 1); if (onChangeListener_ != nullptr) { onChangeListener_->OnDialFloatDataUpdate(DialDataType::DATA_TYPE_WEATHER, Weather_); diff --git a/tools/dial_converter_tool/instance/114/obsidianrhythm.xml b/tools/dial_converter_tool/instance/114/obsidianrhythm.xml index d1b19b504..24516a07e 100644 --- a/tools/dial_converter_tool/instance/114/obsidianrhythm.xml +++ b/tools/dial_converter_tool/instance/114/obsidianrhythm.xml @@ -11,24 +11,23 @@ - + - - + - + - +