From 965290476c027deb96891cde1095d9a100581a6b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 20 二月 2020 09:13:32 +0800
Subject: [PATCH] 2020-02-20 1.优化更新。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Register/Databackup.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/Databackup.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/Databackup.cs
index ed10e5a..d3c4a05 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/Databackup.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/Databackup.cs
@@ -140,7 +140,7 @@
                                     new Alert ("", Language.StringByID (R.MyInternationalizationString.SwitchRegionSuccessfully),
                                               Language.StringByID (R.MyInternationalizationString.Close)).Show ();
                                     this.DatabackupShow ();
-                                    EquipmentPublicClass.CheckLinkRemote (2);
+                                    EquipmentPublicClass.CheckLinkRemote (UserConfig.Instance.internetStatus);
                                 });
                             } catch (Exception ex) {
                                 Application.RunOnMainThread (() => {
@@ -889,7 +889,7 @@
                                     this.RemoveFromParent ();
                                     CommonPage.IsRemote = false;
                                     UserMiddle.Init ();
-                                    EquipmentPublicClass.CheckLinkRemote (2);
+                                    EquipmentPublicClass.CheckLinkRemote (UserConfig.Instance.internetStatus);
                                     new Alert ("", Language.StringByID (R.MyInternationalizationString.RestoreFileIsSuccessfull),
                                    Language.StringByID (R.MyInternationalizationString.Close)).Show ();
                                 });

--
Gitblit v1.8.0