From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs index a1b1650..64287ce 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); @@ -56,7 +56,7 @@ { textBtn.Text = (50 - Common.Logic.CurrentLogic.LogicCustomPushText.Length).ToString(); } - textBox.TextChangeEventHandler += (sender, e) => + textBox.TextChangeEventHandler += (sender, e) => { var leng = e.Length; if (leng > 50) @@ -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(); @@ -128,7 +128,7 @@ }; - + } } -- Gitblit v1.8.0