查找手机界面屏蔽未连接界面,与figma上设计统一
authorluozheng <1732036298@qq.com>
Sat, 31 Aug 2024 09:34:02 +0000 (17:34 +0800)
committerluozheng <1732036298@qq.com>
Sat, 31 Aug 2024 09:34:02 +0000 (17:34 +0800)
code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp

index cde9568..5e2e81e 100644 (file)
@@ -8,7 +8,7 @@
  * @Author: luozheng 1732036298@qq.com
  * @Date: 2024-03-27 10:47:46
  * @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-31 16:40:57
+ * @LastEditTime: 2024-08-31 17:31:35
  * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp
  */
 #include "findphone/include/FindPhoneView.h"
@@ -276,15 +276,18 @@ namespace OHOS
     {
         View<FindPhonePresenter>::OnStart();
 
-        if (FindPhoneModel::GetInstance().GetBlueToothConnectedState() == true) // 判断蓝牙是否是连接状态
-        {
-            FindPhoneViewInit_BlueToothConnected();
-            senfindphoneSend(FINDPHONE_START);
-        }
-        else
-        {
-            FindPhoneViewInit_BlueToothDisConnected();
-        }
+        // if (FindPhoneModel::GetInstance().GetBlueToothConnectedState() == true) // 判断蓝牙是否是连接状态
+        // {
+        //     FindPhoneViewInit_BlueToothConnected();
+        //     senfindphoneSend(FINDPHONE_START);
+        // }
+        // else
+        // {
+        //     FindPhoneViewInit_BlueToothDisConnected();
+        // }
+
+        FindPhoneViewInit_BlueToothConnected();
+        senfindphoneSend(FINDPHONE_START);
 
         FindPhoneGroupView->SetTouchable(true);
         FindPhoneGroupView->SetDraggable(true);