From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs
index a1b1650..f333492 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs
@@ -22,7 +22,7 @@
             var middle = new FrameLayout
             {
                 Y = view.topRowLayout.Bottom,
-                Height = Application.GetRealHeight(1920 - 184),
+                Height = Application.GetRealHeight(Method.H - 184),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
             };
             this.AddChidren(middle);
@@ -116,7 +116,7 @@
                  Common.Logic.CurrentLogic.LogicCustomPushText = textBox.Text.Trim();
                  if (string.IsNullOrEmpty(Common.Logic.CurrentLogic.LogicCustomPushText))
                  {
-                     var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal,
+                     var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal,
                            Language.StringByID(MyInternationalizationString.tiptextnull),
                            Language.StringByID(MyInternationalizationString.confrim));
                            alert.Show();

--
Gitblit v1.8.0