CrabtreeOn,印度客户定制APP,迁移2.0平台版本
wxr
2022-11-01 dc14dbad8e3a55b57cadddba40c3f437e5e80fc5
Crabtree/SmartHome/UI/SimpleControl/Phone/Room/UserDeviceListPage.cs
@@ -364,7 +364,7 @@
                            deviceRow.AddChidren (btnEdit);
                            btnEdit.MouseUpEventHandler += (sd, ds) => {
                                Dialog dialog = new Dialog ();
                                //修改设备备注
                                var dialogView = new FrameLayout () {
                                    Gravity = Gravity.Center,
                                    Width = Application.GetRealWidth (500),
@@ -442,6 +442,13 @@
                                        return;
                                    }
                                    //修改云端备注
                                    new System.Threading.Thread (() => {
                                        var http = new HttpServerRequest ();
                                        http.EditDeviceName (commonDevice.DeviceID.ToString (), UserConfig.Instance.CurrentRegion.Id, remakeStr);
                                    }) { IsBackground = true }.Start ();
                                    MainPage.Loading.Start ();
                                    //byte [] remakeBytes = CommonPage.MyEncodingGB2312.GetBytes (etDeviceName.Text.Trim ());
                                    System.Threading.Tasks.Task.Run (() => {