From: Caisking <3449750381@qq.com> Date: Tue, 16 Jul 2024 01:31:03 +0000 (+0800) Subject: 取消消息列表Slice的上滑回到主界面。view冲突 X-Git-Tag: release_V1.2.70_20241020_135402~807^2~6 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=3c469fbb0b9a7e86f6dfc0d53784d65862baa50b;p=mirrors%2FFD230.git 取消消息列表Slice的上滑回到主界面。view冲突 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/message/src/MessagePresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/message/src/MessagePresenter.cpp index 51924c7fd..286fe875e 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/message/src/MessagePresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/message/src/MessagePresenter.cpp @@ -78,10 +78,10 @@ namespace OHOS NativeAbility::GetInstance().Back(); } // 向下回到主界面 - if (event.GetDragDirection() == DragEvent::DIRECTION_TOP_TO_BOTTOM) - { - NativeAbility::GetInstance().EnterSlice(VIEW_MAIN); - } + // if (event.GetDragDirection() == DragEvent::DIRECTION_TOP_TO_BOTTOM) + // { + // NativeAbility::GetInstance().EnterSlice(VIEW_MAIN); + // } return true; }