From 2b7cb5b52a7965a69dfa14a0aaa9d3499d3dd074 Mon Sep 17 00:00:00 2001 From: zhangaotian <8474238@qq.com> Date: Tue, 25 Jun 2024 16:31:39 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=80=9A=E7=9F=A5=E3=80=91ios?= =?UTF-8?q?=E4=B8=8B=E6=9A=82=E4=B8=8D=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Scripts/Gameplay/UI/Other/UILoginPanelController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Forest/Assets/Scripts/Gameplay/UI/Other/UILoginPanelController.cs b/Forest/Assets/Scripts/Gameplay/UI/Other/UILoginPanelController.cs index f23cf6f..379e7ac 100644 --- a/Forest/Assets/Scripts/Gameplay/UI/Other/UILoginPanelController.cs +++ b/Forest/Assets/Scripts/Gameplay/UI/Other/UILoginPanelController.cs @@ -110,8 +110,9 @@ public class UILoginPanelController : UIWindow LoginManager.Instance.ShowLogin = true; AppInfoManager.Instance.CurLoginState = AppInfoManager.NetConfigID.DeviceID; CloseWin(); - +#if UNITY_ANDROID Notification.Android.SetNotification("通知", "测试通知", DateTime.UtcNow.AddSeconds(5f), "small", "large", "测试", true); +#endif } private async void CloseWin()