From 2d6787d9dedca3553ccd9ae5eb1bc7e52d2608e2 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 16 三月 2021 16:44:33 +0800
Subject: [PATCH] 3.

---
 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