From a40db3104e6d5d8a5d146ad808e5bb1ad6c8cb07 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 17:53:22 +0800 Subject: [PATCH] 20201120 --- HDL_ON/UI/UI0-Public/AppUnlockPage.cs | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs index 8aee834..b248f49 100644 --- a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs +++ b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs @@ -97,6 +97,10 @@ public void LoadPage() { + if (OnAppConfig.Instance.unlockTime.AddSeconds(60) > DateTime.Now || OnAppConfig.Instance.appUnlockPasswrod == "" || OnAppConfig.Instance.appUnlockPage.Count == 0) + { + return; + } LoadOption(); } @@ -105,15 +109,6 @@ /// </summary> public void LoadGesturePage(string optionType, Action fingerAction) { - //Dialog dialog = new Dialog(); - - if (optionType == "7") - { - if (OnAppConfig.Instance.unlockTime.AddSeconds(60) > DateTime.Now || OnAppConfig.Instance.appUnlockPasswrod == "" || OnAppConfig.Instance.appUnlockPage.Count == 0) - { - return; - } - } var bodyView = new FrameLayout() { BackgroundColor = CSS.CSS_Color.MainBackgroundColor -- Gitblit v1.8.0