wxr
2022-06-16 352e2add907bb5d7332a7e598693084ef0e34a87
Crabtree/SmartHome/UI/SimpleControl/Phone/Guide/GuideAddGateway.cs
@@ -309,11 +309,15 @@
                                    bingResideceId += (int)(bingResidenceIdBytes [i] * Math.Pow (256, 3 - i));
                                }
                                if (bingResideceId != UserConfig.Instance.CurrentRegion.RegionID && bingResideceId != 0) {
#if DEBUG
                                    goNext = true;
#else
                                    Application.RunOnMainThread (() => {
                                        if (inThisView) {
                                            new Alert ("", "This gateway has been bound to a residence, please reset it before binding to another residence.", Language.StringByID (R.MyInternationalizationString.Close)).Show ();
                                        }
                                    });
#endif
                                } else {
                                    goNext = true;
                                }