dont immediatly prompt biometric when locked

This commit is contained in:
Kyle Spearrin 2019-10-30 08:08:15 -04:00
parent 59d5314164
commit 0cdc138ba3

View file

@ -396,6 +396,11 @@ namespace Bit.App
autoPromptFingerprint = false; autoPromptFingerprint = false;
} }
} }
else if(autoPromptFingerprint && Device.RuntimePlatform == Device.Android &&
_deviceActionService.UseNativeBiometric())
{
autoPromptFingerprint = false;
}
PreviousPageInfo lastPageBeforeLock = null; PreviousPageInfo lastPageBeforeLock = null;
if(Current.MainPage is TabbedPage tabbedPage && tabbedPage.Navigation.ModalStack.Count > 0) if(Current.MainPage is TabbedPage tabbedPage && tabbedPage.Navigation.ModalStack.Count > 0)
{ {