设置卡片UI修复
authorCaisking <Casiking@zhihuishixun.com>
Tue, 15 Apr 2025 07:37:21 +0000 (15:37 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Tue, 15 Apr 2025 07:37:21 +0000 (15:37 +0800)
code/sdk/application/wearable/fd230/nativeapp/nativeui/set_dial/src/SetDialPresenter.cpp
code/sdk/application/wearable/fd230/nativeapp/nativeui/set_dial/src/SetDialView.cpp

index ed7347e..3d696e8 100644 (file)
 #include "bleEvent.h"
 #include "bletest.h"
 #endif
+
+#include "NativeRegisterManager.h"
+
 namespace OHOS
 {
+
+    REGIST_SLICE(VIEW_SET_DIAL, SetDialView, SetDialPresenter);
+
     SetDialPresenter::SetDialPresenter()
     {
         WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "SetDialPresenter::SetDialPresenter");
index 94edacf..9a9ec29 100644 (file)
@@ -28,10 +28,12 @@ namespace OHOS
        
         if (SetDialStyleModel::GetInstance().GetStyle() == DialStyle::COVERFLOW)
         {
+            WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"覆盖流");
             SetUpCoverflowView();
         }
         else
         {
+            WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"滚筒流");
             SetUpRollerView();
         }