From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 11 九月 2020 09:16:59 +0800
Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节

---
 ZigbeeApp/Shared/Phone/UserCenter/Password/EditorAccountPasswordForm.cs |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorAccountPasswordForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorAccountPasswordForm.cs
index af5834a..093de67 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorAccountPasswordForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorAccountPasswordForm.cs
@@ -55,7 +55,9 @@
             txtoldPsw.PlaceholderText = Language.StringByID(R.MyInternationalizationString.PleaseInputOldPsw);
             rowOldPsw.AddChidren(txtoldPsw);
             //搴曠嚎
-            rowOldPsw.AddBottomLine();
+            var btnOldLine = rowOldPsw.AddBottomLine();
+            //鑱斿姩绾跨殑鐘舵��
+            txtoldPsw.btnLine = btnOldLine;
             //鍥炬爣
             var btnoldPswIcon = rowOldPsw.AddMostRightEmptyIcon(58, 58);
             btnoldPswIcon.UnSelectedImagePath = "Item/HidenPWD.png";
@@ -93,7 +95,9 @@
             txtNewPsw.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputNewPassword);
             rowNewPsw.AddChidren(txtNewPsw);
             //搴曠嚎
-            rowNewPsw.AddBottomLine();
+            var btnNewLine = rowNewPsw.AddBottomLine();
+            //鑱斿姩绾跨殑鐘舵��
+            txtNewPsw.btnLine = btnNewLine;
             //鍥炬爣
             var btnNewPswIcon = rowNewPsw.AddMostRightEmptyIcon(58, 58);
             btnNewPswIcon.UnSelectedImagePath = "Item/HidenPWD.png";
@@ -160,20 +164,20 @@
         /// 淇濆瓨瀵嗙爜
         /// </summary>
         /// <param name="newPassword"></param>
-        private async void SavePassword(string newPassword)
+        private void SavePassword(string newPassword)
         {
             var pra = new SavePasswordPra();
             pra.NewPassword = newPassword;
 
             //鏇存敼瀵嗙爜
-            bool flage = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdatePassword", false, pra);
+            bool flage = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdatePassword", false, pra);
             if (flage == false)
             {
                 return;
             }
             //瀵嗙爜宸茬粡淇敼锛岃閲嶆柊鐧诲綍
             string msg = Language.StringByID(R.MyInternationalizationString.uPasswordIsHadChangedAndLoginAgain);
-            this.ShowMassage(ShowMsgType.Normal, msg, () =>
+            this.ShowMassage(ShowMsgType.Remind, msg, () =>
              {
                  //浠庢柊鐧诲綍
                  UserCenterLogic.ReLoginAgain(Common.Config.Instance.Account);

--
Gitblit v1.8.0