From 374a2b0c6b3efb40e8aea784d48b5bf54d6e1ddb Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期五, 21 七月 2023 15:26:41 +0800 Subject: [PATCH] feature naviStatusHeight --- HDL_ON/UI/MainPage.cs | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index 4f1d9af..a237a77 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -223,7 +223,7 @@ #if __ANDROID__ new System.Threading.Thread(async () => { - int i = 0; + int i = 10; while (i < 10) { try { @@ -454,7 +454,8 @@ addResidencePage.LoadView(); return; } - new System.Threading.Thread(async () => + + new System.Threading.Thread(() => { try { @@ -504,6 +505,19 @@ } }).Start(); + + try + { +#if __ANDROID__ + Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString); +#else + Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString); +#endif + } + catch (Exception ex) + { + MainPage.Log("Bugly error"); + } } /// <summary> -- Gitblit v1.8.0