From be95e839f40eb3ddf64706b60cba6dfcf4fad5e5 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 03 四月 2020 14:31:44 +0800 Subject: [PATCH] 2020-04-03 1.去掉登录前ping百度域名的网络监测。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs index 47e3832..3155b88 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs @@ -260,7 +260,7 @@ MainPage.Loading.Start ("Login..."); } }); - if (UserConfig.Instance.internetStatus == 0 || !SystemRemote.checeInternet ()) { + if (UserConfig.Instance.internetStatus == 0) { Application.RunOnMainThread (() => { new Tip () { Text = "Network abnormal, unable to connect to the Internet", Direction = AMPopTipDirection.Down, CloseTime = 3 }.Show (btnLogo); }); @@ -284,7 +284,7 @@ } catch (Exception ex) { MainPage.FailureToServer (); - Console.WriteLine (ex.Message); + Utlis.WriteLine (ex.Message); } finally { Application.RunOnMainThread (() => { MainPage.Loading.Hide (); -- Gitblit v1.8.0