From 52005ed57f3f7bc796fdd1a878e4f298a126f1e8 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 29 十月 2019 16:48:47 +0800
Subject: [PATCH] 2019.10.29-3
---
ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
index 5cb012c..89aa63f 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
@@ -152,7 +152,7 @@
};
this.midFrameLayout.AddChidren(bottomFrameLayout);
- var btnChooseKeyMode = new Button()
+ Button btnChooseKeyMode = new Button()
{
Width = Application.GetRealWidth(907),
Gravity = Gravity.CenterHorizontal,
@@ -184,8 +184,6 @@
btnChooseKeyMode.MouseUpEventHandler += (sender, e) =>
{
- this.RemoveFromParent();
-
var chooseKeyModePage = new Shared.Phone.UserCenter.DeviceBind.ChooseKeyModePage(currentKey, curDeviceBindType, targetList);
Shared.Phone.UserView.HomePage.Instance.AddChidren(chooseKeyModePage);
Shared.Phone.UserView.HomePage.Instance.PageIndex += 1;
@@ -200,6 +198,8 @@
};
chooseKeyModePage.action += action;
}
+
+ this.RemoveFromParent();
};
#endregion
}
--
Gitblit v1.8.0