chenquansheng

fix |> 修复首次启动通知弹窗选择允许通知后,在设置页推送开关没有开启

@@ -141,6 +141,7 @@ export class StartupManager { @@ -141,6 +141,7 @@ export class StartupManager {
141 141
142 GetuiPush.sharedInstance().requestEnableNotifications(this.context!).then((enabled) => { 142 GetuiPush.sharedInstance().requestEnableNotifications(this.context!).then((enabled) => {
143 HWLocationUtils.startLocationService() 143 HWLocationUtils.startLocationService()
  144 + SPHelper.default.save(SpConstants.SETTING_PUSH_SWITCH,enabled)
144 }) 145 })
145 146
146 GetuiPush.sharedInstance().onReachMainPage() 147 GetuiPush.sharedInstance().onReachMainPage()