| | |
| | | public static class AppUnlockPage |
| | | { |
| | | static DateTime unlockTime = DateTime.MinValue; |
| | | static Dialog Dialog; |
| | | static void LoadOption() |
| | | { |
| | | |
| | |
| | | //1:验证指纹 |
| | | if (MainPage.LoginUser.appUnlockType.Contains("3")) |
| | | { |
| | | LoadGesturePage(); |
| | | TouchIDUtils.Instance.showTouchIDWithDescribe(null, Language.StringByID(StringId.PleaseVerifyTheFingerprint)); |
| | | TouchIDUtils.Instance.OnHDLTouchIDStateBackEvent = (sender1, e) => |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | public static void LoadPage() |
| | | { |
| | | LoadOption(); |
| | | } |
| | | static void LoadGesturePage() |
| | | { |
| | | if (unlockTime.AddSeconds(60) > DateTime.Now || MainPage.LoginUser.appUnlockPasswrod == "" || MainPage.LoginUser.appUnlockPage.Count == 0) |
| | | { |
| | |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | } |
| | | }; |
| | | LoadOption(); |
| | | |
| | | } |
| | | } |