From 932dfbcdd97b7ddae513672d38a205e454edaf38 Mon Sep 17 00:00:00 2001 From: Caisking Date: Thu, 8 May 2025 19:36:33 +0800 Subject: [PATCH] =?utf8?q?applist=E4=BD=BF=E7=94=A8=E7=BB=9F=E4=B8=80?= =?utf8?q?=E7=9A=84=E8=BF=9B=E5=85=A5=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/applist/src/ApplistPresenter.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/ApplistPresenter.cpp b/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/ApplistPresenter.cpp index e96791a42..a6c141f17 100644 --- a/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/ApplistPresenter.cpp +++ b/code/sdk/application/wearable/fd230/nativeapp/nativeui/applist/src/ApplistPresenter.cpp @@ -119,10 +119,13 @@ REGIST_SLICE(VIEW_APPLIST, ApplistView, ApplistPresenter); } WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ApplistPresenter::OnClick viewid = %d", viewId); if (viewId < VIEW_MAX_INTER_APP) { +#ifdef FD230_650 if (viewId == VIEW_SETTING && style == AppListStyle::APPLIST_STYLE) { - //TODO EnterSlice 需要适配新函数 + //TODO EnterSlice 需要适配新函数 需要增加新特效 是否增加? NativeAbility::GetInstance().ChangeSlice(viewId, type, gSliceDefaultPriority, true); - } else { + } else + #endif + { NativeAbility::GetInstance().EnterSlice(viewId, type); } return true; -- 2.17.1