From 505effa88b17ce8c3c7ac5403b76d9e5d0cfc2a5 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 28 十月 2024 11:58:31 +0800 Subject: [PATCH] 谷歌版本问题修复 --- HDL_ON/UI/UI2/UserPage.cs | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs index 203c1e3..a1748ae 100644 --- a/HDL_ON/UI/UI2/UserPage.cs +++ b/HDL_ON/UI/UI2/UserPage.cs @@ -145,17 +145,17 @@ } if (DB_ResidenceData.Instance.NeedTip) { DB_ResidenceData.Instance.LastTipTime = DateTime.Now; - if (CN.Jpush.Android.Api.JPushInterface.IsNotificationEnabled(Shared.Application.Activity) != 1) - { - Action action = () => - { - CN.Jpush.Android.Api.JPushInterface.GoToAppNotificationSettings(Shared.Application.Activity); - }; - Shared.Application.RunOnMainThread(() => - { - new HDL_ON.UI.ConfirmDialog().ShowDialog(StringId.Tip, StringId.Android_MessagePushTip, action); - }); - } + //if (CN.Jpush.Android.Api.JPushInterface.IsNotificationEnabled(Shared.Application.Activity) != 1) + //{ + // Action action = () => + // { + // CN.Jpush.Android.Api.JPushInterface.GoToAppNotificationSettings(Shared.Application.Activity); + // }; + // Shared.Application.RunOnMainThread(() => + // { + // new HDL_ON.UI.ConfirmDialog().ShowDialog(StringId.Tip, StringId.Android_MessagePushTip, action); + // }); + //} } #endif -- Gitblit v1.8.0