From 897368fb0e9f36ea887b3b093fa3ce931984dc3b Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Fri, 6 Sep 2024 19:01:19 +0800 Subject: [PATCH] =?utf8?q?#445=20=E8=BF=90=E5=8A=A8-=E4=BC=91=E9=97=B2?= =?utf8?q?=E8=BF=90=E5=8A=A8-=E5=B0=91=E4=BA=86=E5=AF=B9=E6=88=98=E6=B8=B8?= =?utf8?q?=E6=88=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../traing/training_list_rest/include/TraingRestModel.h | 2 +- .../traing/training_list_rest/src/TraingRestModel.cpp | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/include/TraingRestModel.h b/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/include/TraingRestModel.h index 2983ad442..75e3fcdf2 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/include/TraingRestModel.h +++ b/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/include/TraingRestModel.h @@ -37,7 +37,7 @@ namespace OHOS TraingRestModel(const TraingRestModel &); TraingRestModel &operator=(const TraingRestModel &); virtual ~TraingRestModel(); - static const uint16_t TraingRestListMaxNum = 23; + static const uint16_t TraingRestListMaxNum = 24; TraingRestItem TraingRests[TraingRestListMaxNum] = {VIEW_INVALID, STR_EXERCISE_GENERAL}; // std::map TraingRestIdToViewId; bool btConnectStatus{false}; diff --git a/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/src/TraingRestModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/src/TraingRestModel.cpp index a2627a30d..2be515658 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/src/TraingRestModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/src/TraingRestModel.cpp @@ -1,4 +1,9 @@ - +/*** + * @Date: 2024-04-15 10:55:58 + * @LastEditors: Caisking 3449750381@qq.com + * @LastEditTime: 2024-09-06 19:00:18 + * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/src/TraingRestModel.cpp + */ #include "traing/training_list_rest/include/TraingRestModel.h" #include "common/image_cache_manager.h" @@ -34,6 +39,7 @@ namespace OHOS {VIEW_TRAININGNOMAL, STR_RECREATIONAL_DARTS}, {VIEW_TRAININGNOMAL, STR_RECREATIONAL_ARCHERY}, {VIEW_TRAININGNOMAL, STR_RECREATIONAL_HORSERIDING}, + {VIEW_TRAININGNOMAL, STR_RECREATIONAL_BATTLEGAME}, {VIEW_TRAININGNOMAL, STR_RECREATIONAL_KITE}, {VIEW_TRAININGNOMAL, STR_RECREATIONAL_TUGOFWAR}, {VIEW_TRAININGNOMAL, STR_RECREATIONAL_SWING}, -- 2.17.1