From 67663d7be9fa6a5bf7486c6237d85d7556dcccb9 Mon Sep 17 00:00:00 2001 From: aaxdev Date: Sat, 22 Aug 2020 13:10:29 +0200 Subject: [PATCH] Fix auto biometric prompt on vault timeout --- src/App/App.xaml.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/App/App.xaml.cs b/src/App/App.xaml.cs index 6a98dae9d..2bdd49355 100644 --- a/src/App/App.xaml.cs +++ b/src/App/App.xaml.cs @@ -407,18 +407,6 @@ namespace Bit.App private async Task LockedAsync(bool autoPromptBiometric) { await _stateService.PurgeAsync(); - if (autoPromptBiometric && Device.RuntimePlatform == Device.iOS) - { - var vaultTimeout = await _storageService.GetAsync(Constants.VaultTimeoutKey); - if (vaultTimeout == 0) - { - autoPromptBiometric = false; - } - } - else if (autoPromptBiometric && Device.RuntimePlatform == Device.Android) - { - autoPromptBiometric = false; - } PreviousPageInfo lastPageBeforeLock = null; if (Current.MainPage is TabbedPage tabbedPage && tabbedPage.Navigation.ModalStack.Count > 0) {