From 76fca0e9a011eb36081e34b875a5d7399d4de3e9 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 09 五月 2023 09:10:59 +0800
Subject: [PATCH] 优化登录界面键盘推动界面
---
HDL_ON/UI/UI2/UserPage.cs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index 6a3074f..78690ae 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -132,7 +132,11 @@
//寮�鍚畾浣嶆湇鍔�
try
{
- Shared.Application.StartGPSLocationService();
+ if (DB_ResidenceData.Instance.CheckGPS_IsFirst)
+ {
+ DB_ResidenceData.Instance.CheckGPS_IsFirst = false;
+ Shared.Application.StartGPSLocationService();
+ }
}catch(Exception ex)
{
MainPage.Log("寮�鍚畾浣嶆湇鍔″紓甯�:" + ex.Message);
@@ -485,9 +489,10 @@
{
btnNavigationSelectionIcon.SetRotation(0f);
ContextView.RemoveAll();
- var classificaitionView = new ClassificationPage();
+ var classificaitionView = new ClassificationPage();
ContextView.AddChidren(classificaitionView);
classificaitionView.LoadPage();
+
});
})
{ IsBackground = true, Priority = System.Threading.ThreadPriority.Lowest }.Start();
--
Gitblit v1.8.0