1
wxr
2023-03-31 7e42cc13a14b7de31c9f5d5c61cdf24f3246335d
Crabtree/SmartHome/UI/SimpleControl/MainPage.cs
@@ -35,11 +35,11 @@
                }
                return loading;
            }
        }
        }
        //public static Button LogoButton = new Button ();
        public static string CodeIDString = "20191223";
        public static string CodeIDString = "20220112";
        public static UserInfo LoginUser;
@@ -108,11 +108,14 @@
                    //Pad.UserHomePage.Init ();
                } else {
                    Phone.UserHomePage.Init ();
#if __IOS__
                    //Loading.LodingBackgroundColor = 0x10777777;
#else
                    //#if __IOS__
                    //                    //Loading.LodingBackgroundColor = 0x10777777;
                    //#else
                    //                    Loading.LodingBackgroundColor = SkinStyle.Current.MainColor;
                    //#endif
                    Loading.TextColor = 0xFFA9A9A9;
                    Loading.LodingBackgroundColor = SkinStyle.Current.MainColor;
#endif
                }
            } catch (Exception ex) {
                //new Alert ("Eorr", ex.Message, "Close").Show();
@@ -193,7 +196,6 @@
                var webClient = new WebClient ();
                if (urlHead == "") {
                    urlHead = $"{"https://homeautomation.havells.com"}/WebApi/";
                    urlHead = "https://developer.hdlcontrol.com/api/";
                } else {
                    webClient.Headers.Add ("CONTENT-TYPE", "application/json");
                }