From: Caisking <3449750381@qq.com> Date: Fri, 30 Aug 2024 11:31:35 +0000 (+0800) Subject: 修复错误的if语句 X-Git-Tag: release_V1.2.70_20241020_135402~554 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F836%2F1;p=mirrors%2FFD230.git 修复错误的if语句 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp b/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp index 8ec2b2a6a..23472dc97 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/key/src/KeyInputListener.cpp @@ -203,7 +203,7 @@ namespace OHOS CallVolumeDipSwitchControl(VOLUMEDOWN); } #endif - else if (currentViewId != VIEW_MAIN) // 如果当前页面不是主表盘,如果屏幕亮起,则先处理闹钟通知再切换到主表盘页面。 + if (currentViewId != VIEW_MAIN) // 如果当前页面不是主表盘,如果屏幕亮起,则先处理闹钟通知再切换到主表盘页面。 { if (mcu_pms_is_screen_on()) {