JLChen
2020-04-22 fef8136ca77f03dc4fb8988da94dcaf9dcabc9e0
Crabtree/ON.Ios/AppDelegate.cs
@@ -111,7 +111,7 @@
            }
            if (UIApplication.SharedApplication.ApplicationIconBadgeNumber > 0) {
                RemoteInfo.Current.ReadMsgList (NSUserDefaults.StandardUserDefaults.StringForKey ("PushDeviceToken"), true);
                //RemoteInfo.Current.ReadMsgList (NSUserDefaults.StandardUserDefaults.StringForKey ("PushDeviceToken"), true);
            }
            //if (UserConfig.Instance.SkinCode == 0) {
                application.StatusBarStyle = UIStatusBarStyle.DarkContent;
@@ -168,8 +168,8 @@
            UserConfig.Instance.SaveUserConfig ();
            RemoteInfo.Current.ReadMsgList (NSUserDefaults.StandardUserDefaults.StringForKey ("PushDeviceToken"),
                                            application.ApplicationState == UIApplicationState.Active ? true : false);
            //RemoteInfo.Current.ReadMsgList (NSUserDefaults.StandardUserDefaults.StringForKey ("PushDeviceToken"),
            //                                application.ApplicationState == UIApplicationState.Active ? true : false);
            UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
        }