From: penglei <1624952103@qq.com> Date: Tue, 16 Sep 2025 10:26:13 +0000 (+0800) Subject: 修复雷鸟编译问题 X-Git-Tag: leiniao_debug_1.0.0_20250922_020716~78^2~2 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F2267%2F1;p=mirrors%2FFD230.git 修复雷鸟编译问题 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/compass/src/MainCompassPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/compass/src/MainCompassPresenter.cpp index a50289159..1f8adaae3 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/compass/src/MainCompassPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/compass/src/MainCompassPresenter.cpp @@ -11,7 +11,7 @@ namespace OHOS { //REGIST_MENU(VIEW_COMPASS, MainCompassView, MainCompassPresenter, PNG_APPLIST_COMPASS_IMAGE, - PNG_APPLIST_DEFAULT_IMG, "指南针"); + // PNG_APPLIST_DEFAULT_IMG, "指南针"); bool MainCompassPresenter::OnDrag(UIView& view, const DragEvent& event) { diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/flashlight/src/FlashLightPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/flashlight/src/FlashLightPresenter.cpp index 91cfc853f..d2b7386d0 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/flashlight/src/FlashLightPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/flashlight/src/FlashLightPresenter.cpp @@ -10,5 +10,5 @@ namespace OHOS { //REGIST_MENU(VIEW_FLASHLIGHT, FlashLightView, FlashLightPresenter, FLASHLIGHT_MAIN_ICON, PNG_APPLIST_DEFAULT_IMG, - "手电筒"); + // "手电筒"); } diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/qrcode_conn/src/QrcodeConnPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/qrcode_conn/src/QrcodeConnPresenter.cpp index e4696946b..c17651b26 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/qrcode_conn/src/QrcodeConnPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/qrcode_conn/src/QrcodeConnPresenter.cpp @@ -11,7 +11,7 @@ namespace OHOS { //REGIST_MENU(VIEW_QRCODE_CONN, QrcodeConnView, QrcodeConnPresenter, PNG_APPLIST_UI_SAMPLE_IMAGE, PNG_APPLIST_DEFAULT_IMG, - "二维码连接"); + // "二维码连接"); static QrcodeConnPresenter *g_QrcodeConnPresenter = nullptr; diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/stopwatch/src/StopwatchPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/stopwatch/src/StopwatchPresenter.cpp index 14519ad42..7a3475a18 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/stopwatch/src/StopwatchPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/stopwatch/src/StopwatchPresenter.cpp @@ -10,5 +10,5 @@ namespace OHOS { //REGIST_MENU(VIEW_STOPWATCH, StopwatchView, StopwatchPresenter, PNG_APPLIST_STOPWATCH_LOGO, PNG_APPLIST_DEFAULT_IMG, - "秒表"); + // "秒表"); } \ No newline at end of file diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/training/src/TrainingPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/training/src/TrainingPresenter.cpp index 9e576d523..a7dd9106b 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/training/src/TrainingPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/training/src/TrainingPresenter.cpp @@ -11,7 +11,7 @@ namespace OHOS { //REGIST_MENU(VIEW_TRAINING, TrainingView, TrainingPresenter, PNG_APPLIST_WALK_IMAGE, PNG_APPLIST_DEFAULT_IMG, - "体能训练"); + // "体能训练"); static TrainingPresenter *g_trainingPresenter = nullptr; TrainingPresenter::TrainingPresenter()