From 1f74e102fa8a0b6dc13e1a5651bb63a030a61ac4 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 16 May 2019 17:31:08 -0400 Subject: [PATCH] dont focus fields if using fingerprint locking --- src/App/Pages/Accounts/LockPage.xaml.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/App/Pages/Accounts/LockPage.xaml.cs b/src/App/Pages/Accounts/LockPage.xaml.cs index a04093f4e..2623b3b18 100644 --- a/src/App/Pages/Accounts/LockPage.xaml.cs +++ b/src/App/Pages/Accounts/LockPage.xaml.cs @@ -24,13 +24,16 @@ namespace Bit.App.Pages { base.OnAppearing(); await _vm.InitAsync(); - if(_vm.PinLock) + if(!_vm.FingerprintLock) { - RequestFocus(PinEntry); - } - else if(!_vm.FingerprintLock) - { - RequestFocus(MasterPasswordEntry); + if(_vm.PinLock) + { + RequestFocus(PinEntry); + } + else + { + RequestFocus(MasterPasswordEntry); + } } }