陈嘉乐
2020-09-02 652243206427f35a256400a149a1734085824cb9
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);
@@ -52,6 +52,10 @@
            middle.AddChidren(textBtn);
            string s1 = "";
            string s2 = "";
            if (!string.IsNullOrEmpty(Common.Logic.CurrentLogic.LogicCustomPushText))
            {
                textBtn.Text = (50 - Common.Logic.CurrentLogic.LogicCustomPushText.Length).ToString();
            }
            textBox.TextChangeEventHandler += (sender, e) =>
            {
                var leng = e.Length;