From 0058d3fd5cf6052016ae744aeca2272623bfb6c8 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 28 十月 2019 17:49:52 +0800 Subject: [PATCH] 2019-10-28-2 --- ZigbeeApp/Shared/Phone/Device/Category/SelectFloor.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Category/SelectFloor.cs b/ZigbeeApp/Shared/Phone/Device/Category/SelectFloor.cs index 53cd5e5..668754b 100755 --- a/ZigbeeApp/Shared/Phone/Device/Category/SelectFloor.cs +++ b/ZigbeeApp/Shared/Phone/Device/Category/SelectFloor.cs @@ -35,9 +35,9 @@ UnSelectedImagePath="Item/SelectFloor_Left.png" }; dialog.AddChidren(bg); - if(direction==CommonForm.Direction.Right) + if (direction == CommonForm.Direction.Right) { - bg.UnSelectedImagePath = ""; + bg.UnSelectedImagePath = "Item/SelectFloor_Right.png"; } var backgroundFL = new FrameLayout @@ -105,7 +105,8 @@ { ((sender as Button).Parent as CommonForm.LeftIconButtonRow).IsSelected = true; Config.Instance.Home.CurrentFloorId = (sender as Button).Tag.ToString(); - FloorAction?.Invoke(Config.Instance.Home.GetCurrentFloorName()); + Config.Instance.Home.Save(); + FloorAction?.Invoke(Config.Instance.Home.GetCurrentFloorName); RemoveFromParent(); } } -- Gitblit v1.8.0