From c5cb6840bd986bbd71a9ebc232bbf44ed0e1fc3d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 五月 2024 17:43:11 +0800 Subject: [PATCH] jpush更新完成 --- HDL_ON/UI/UI2/UserPage.cs | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs index d3599c4..a1748ae 100644 --- a/HDL_ON/UI/UI2/UserPage.cs +++ b/HDL_ON/UI/UI2/UserPage.cs @@ -91,6 +91,7 @@ { try { + bodyView = this;//1 bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; ContextView = new FrameLayout() @@ -144,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