From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28
---
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