From 244e76efe44273434e1d0b2db8bea50c9f221677 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期五, 03 一月 2020 11:22:14 +0800 Subject: [PATCH] 2020-01-03-01 --- ZigbeeApp/Shared/Phone/Device/Logic/TemplatePage.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/TemplatePage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/TemplatePage.cs index d84baec..9231d7a 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/TemplatePage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/TemplatePage.cs @@ -1213,11 +1213,15 @@ }; if (Common.Logic.CurrentLogic.LogicIsCustomPushText == 0) { + tag = false; btnswitch.IsSelected = false; + custompushFrameLayout.Height = Application.GetRealHeight(0); } else { + tag = true; btnswitch.IsSelected = true; + custompushFrameLayout.Height = Application.GetRealHeight(160); } var saveFrameLayout = new FrameLayout { -- Gitblit v1.8.0