wxr
2022-03-15 caadf73aff8a8a6b95e5956066a13a9a3205f5c0
HDL_ON/UI/BindingResidence/BindingResidencePage.cs
@@ -91,7 +91,15 @@
            btnAddNewResidence.MouseUpEventHandler = (sender, e) =>
            {
                Scan.OpenScan((scanString) =>
                if (Language.CurrentLanguage == "Chinese")
                {
                    Scan.Ins.TipMsg = "您已拒绝App相机访问权限,这将导致您无法使用扫描二维码绑定我的家庭,但您可以通过加入其他用户的家庭,体验智能家居服务,如需启用绑定我的家庭服务,请前往手机系统设置打开相关权限";
                }
                else
                {
                    Scan.Ins.TipMsg = "You have denied access to the app camera, which will make you unable to bind my family with the scanned QR code, but you can experience smart home services by joining other users' families. To enable the bind my family service, please go to the mobile phone system settings to open the relevant permissions";
                }
                Scan.Ins.OpenScan((scanString) =>
                {
                    //执行绑定住宅
                    this.DoBindResidence(scanString);
@@ -218,7 +226,7 @@
            btnRedo.MouseUpEventHandler += (sender, e) =>
            {
                Scan.OpenScan((scanString) =>
                Scan.Ins.OpenScan((scanString) =>
                {
                    frameBack.Close();
                    //执行绑定住宅