From e08a444a9d7acea0cf39f50d22d29179f6a59292 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 01 十二月 2020 09:37:11 +0800
Subject: [PATCH] 2020-12-1

---
 HDL-ON_iOS/AppDelegate.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 565cf50..9335648 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -100,15 +100,15 @@
                 string userPhoneName = UIDevice.CurrentDevice.Name;
 
                 OnAppConfig.Instance.PushDeviceToken = DeviceToken;
-                //UserConfig.Instance.phoneName = userPhoneName;
-                //UserConfig.Instance.SaveUserConfig();
+                OnAppConfig.Instance.PhoneName = userPhoneName;
+                OnAppConfig.Instance.SaveUserConfig();
             }
             if (OnAppConfig.Instance.PushDeviceToken != DeviceToken)
             {
                 string userPhoneName = UIDevice.CurrentDevice.Name;
                 OnAppConfig.Instance.PushDeviceToken = DeviceToken;
-                //UserConfig.Instance.phoneName = userPhoneName;
-                //UserConfig.Instance.SaveUserConfig();
+                OnAppConfig.Instance.PhoneName = userPhoneName;
+                OnAppConfig.Instance.SaveUserConfig();
             }
         }
 

--
Gitblit v1.8.0