查找手机改为REGIST_SLICE注册
authorluozheng <1732036298@qq.com>
Mon, 19 Jan 2026 02:37:05 +0000 (10:37 +0800)
committerluozheng <1732036298@qq.com>
Mon, 19 Jan 2026 02:37:05 +0000 (10:37 +0800)
code/sdk/application/wearable/evb/nativeapp/nativeui/findphone/src/FindPhonePresenter.cpp

index 96f909c..133f12e 100644 (file)
@@ -11,5 +11,5 @@
 #include "findphone/FindPhoneView.h"\r
 \r
 namespace OHOS {\r
-REGIST_MENU(VIEW_FIND_PHONE, FindPhoneView, FindPhonePresenter, FINDPHONE_MAIN_ICON, FINDPHONE_MAIN_ICON, "查找手机");\r
+REGIST_SLICE(VIEW_FIND_PHONE, FindPhoneView, FindPhonePresenter);\r
 }\r