From 49add64d7f25448baa06ac5a9ebbeac0a3ae97e0 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 13 一月 2020 13:50:29 +0800 Subject: [PATCH] Version 2.50113 1.优化更新。 2.第一次引导或者添加住宅,默认添加2个房间。编辑住宅不处理。 3.设备名超过20字节限制。 4.修复编辑住宅名字重复不提示问题。 5.优化添加住宅逻辑。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountModifyPassword.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountModifyPassword.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountModifyPassword.cs index fea7fb9..4f4b0be 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountModifyPassword.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountModifyPassword.cs @@ -80,8 +80,8 @@ var etCurPassword = new EditText () { Width = Application.GetRealWidth (400), X = Application.GetRealWidth (100), - PlaceholderText = Language.StringByID (R.MyInternationalizationString.PleaseEnterOldPassword), PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor, + PlaceholderText = Language.StringByID (R.MyInternationalizationString.PleaseEnterOldPassword), TextAlignment = TextAlignment.CenterLeft, SecureTextEntry = true, TextColor = SkinStyle.Current.TextColor1, @@ -101,8 +101,8 @@ var etNewPassword = new EditText () { Width = Application.GetRealWidth (400), X = Application.GetRealWidth (100), - PlaceholderText = Language.StringByID (R.MyInternationalizationString.PleaseSetNewPasword), PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor, + PlaceholderText = Language.StringByID (R.MyInternationalizationString.PleaseSetNewPasword), TextAlignment = TextAlignment.CenterLeft, TextColor = SkinStyle.Current.TextColor1, SecureTextEntry = true @@ -122,8 +122,8 @@ Width = Application.GetRealWidth (400), Height = Application.GetRealHeight (90), X = Application.GetRealWidth (100), - PlaceholderText = Language.StringByID (R.MyInternationalizationString.PleaseConfirmNewPassword), PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor, + PlaceholderText = Language.StringByID (R.MyInternationalizationString.PleaseConfirmNewPassword), TextAlignment = TextAlignment.CenterLeft, TextColor = SkinStyle.Current.TextColor1, SecureTextEntry = true @@ -177,7 +177,7 @@ try { var requestObj = new UpdatePasswordObj () { OldPassword = oldPassword, NewPassword = newPassword }; var requestJson = Newtonsoft.Json.JsonConvert.SerializeObject (requestObj); - var revertObj = MainPage.RequestHttps (API.UpdatePassword, requestJson, true); + var revertObj = MainPage.RequestHttps (API.UpdatePassword, requestJson); if (revertObj.StateCode.ToUpper() == "SUCCESS") { MainPage.LoginUser.Password = newPassword; MainPage.LoginUser.SaveUserInfo (); -- Gitblit v1.8.0