From 3d7673c7b4aa0dc886d4816fe2d0ab400702e6e1 Mon Sep 17 00:00:00 2001
From: lss <lsc@hdlchina.com.cn>
Date: 星期四, 25 三月 2021 19:11:13 +0800
Subject: [PATCH] 2021-03-25  集成丰林可视对讲

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/AddMiniRemoteControlDirection1Page.cs |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/AddMiniRemoteControlDirection1Page.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/AddMiniRemoteControlDirection1Page.cs
index 3f32913..17c9dc1 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/AddMiniRemoteControlDirection1Page.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/AddMiniRemoteControlDirection1Page.cs
@@ -57,21 +57,19 @@
             var btnNext = this.AddBottomClickButton(Language.StringByID(StringId.Next));
             btnNext.ButtonClickEvent += (sender, e) =>
             {
-#if __IOS__
-#endif
-#if __Android__
                 //妫�娴嬭摑鐗欓渶瑕佺殑涓滆タ
-                HdlAndroidBluetoothLogic.Current.CheckCanScanBluetooth((result) =>
+                btnNext.CanClick = false;
+                HdlBluetoothLogic.Current.CheckCanScanBluetooth((result) =>
                 {
+                    btnNext.CanClick = true;
                     if (result == true)
                     {
                         this.CloseForm();
                         var form = new AddMiniRemoteControlDirection2Page();
-                        //wifi鍜屽瘑鐮侀兘涓虹┖
-                        form.AddForm();
+                        //鍒濆wifi鍜屽瘑鐮佷负绌�
+                        form.AddForm(string.Empty, string.Empty);
                     }
                 });
-#endif
             };
         }
 

--
Gitblit v1.8.0