From c0021397eeb8335d6d1f20990c71533c3d94e7af Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 10 一月 2020 17:02:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into DEV_GXC

---
 ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSettingSub.cs |   25 ++++---------------------
 1 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSettingSub.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSettingSub.cs
index 62b22d3..9ab29f4 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSettingSub.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/FunctionSettingSub.cs
@@ -72,24 +72,7 @@
 
         public void BottomFrameLayout()
         {
-            #region  UI 
-            //var bottomFrameLayout = new FrameLayout()
-            //{
-            //    Height = Application.GetRealHeight(100),
-            //    Y = Application.GetRealHeight(418),
-            //    Radius = 17,
-            //    BackgroundColor = ZigbeeColor.Current.XMWhite,
-            //};
-            //this.midFrameLayout.AddChidren(bottomFrameLayout);
-
-            //var bottomFrameLayout1 = new FrameLayout()
-            //{
-            //    Height = Application.GetRealHeight(1319 - 50),
-            //    Y = Application.GetRealHeight(418 + 48),
-            //    BackgroundColor = ZigbeeColor.Current.XMWhite,
-            //};
-            //this.midFrameLayout.AddChidren(bottomFrameLayout1);
-
+            #region  UI  
             var bottomFrameLayout = new FrameLayout()
             {
                 Height = Application.GetRealHeight(1319),
@@ -256,7 +239,7 @@
                     btnNext.SelectedImagePath = "DoorLock/SwitchOn.png";
                     btnLine.Visible = true;
                     btnLine.Y = Application.GetRealHeight(714);
-                    if (doorLock.RemoteUnlockPassword == "")
+                    if (string.IsNullOrEmpty(doorLock.RemoteUnlockPassword))
                     {
                         btnNext.IsSelected = false;
                     }
@@ -280,7 +263,7 @@
                                  btnNext.IsSelected = !btnNext.IsSelected;
                                  if (btnNext.IsSelected)
                                  {
-                                     if (doorLock.RemoteUnlockPassword == "")
+                                     if (string.IsNullOrEmpty(doorLock.RemoteUnlockPassword))
                                      {
                                          RemotePasswordDialog(doorLock, btnNext);
                                      }
@@ -323,7 +306,7 @@
                 BackgroundColor = Shared.Common.ZigbeeColor.Current.XMBlack,
                 TextColor = Shared.Common.ZigbeeColor.Current.XMWhite,
                 TextSize = 16,
-                IsBold =true,
+                IsBold = true,
             };
             this.midFrameLayout.AddChidren(btnFinifh);
             btnFinifh.MouseUpEventHandler += (sender, e) =>

--
Gitblit v1.8.0