From b800fbdf874cdc75ddc137ea2c22ac2c25d8b45c Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 26 十一月 2019 10:10:37 +0800 Subject: [PATCH] 2019.11.26 --- ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs | 14 ++------------ 1 files changed, 2 insertions(+), 12 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs b/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs index 5e8a5be..a9a1676 100644 --- a/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs +++ b/ZigbeeApp/Shared/Phone/Device/Light/AirSwitchControl.cs @@ -157,8 +157,8 @@ public override void RemoveFromParent() { ZbGateway.StatusList.Remove(this); - action(); - action = null; + //action(); + //action = null; RemoveUpdateControlDeviceStatuAction(); base.RemoveFromParent(); } @@ -242,16 +242,6 @@ { RemoveFromParent(); }; - - var sharedBtn = new Button - { - X = Application.GetRealWidth(850), - Width = Application.GetMinReal(69), - Height = Application.GetMinReal(69), - Gravity = Gravity.CenterVertical, - UnSelectedImagePath = "Item/Shared.png" - }; - top.topView.AddChidren(sharedBtn); var moreBtn = new Button { -- Gitblit v1.8.0