#445 运动-休闲运动-少了对战游戏 898/1 898/head
authorCaisking <3449750381@qq.com>
Fri, 6 Sep 2024 11:01:19 +0000 (19:01 +0800)
committerCaisking <3449750381@qq.com>
Fri, 6 Sep 2024 11:01:19 +0000 (19:01 +0800)
code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/include/TraingRestModel.h
code/sdk/application/wearable/fd230app/nativeui/traing/training_list_rest/src/TraingRestModel.cpp

index 2983ad4..75e3fcd 100644 (file)
@@ -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<int, AppViewId> TraingRestIdToViewId;
         bool btConnectStatus{false};
index a2627a3..2be5156 100644 (file)
@@ -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},