dont focus fields if using fingerprint locking

This commit is contained in:
Kyle Spearrin 2019-05-16 17:31:08 -04:00
parent 5761b47073
commit 1f74e102fa

View file

@ -24,13 +24,16 @@ namespace Bit.App.Pages
{ {
base.OnAppearing(); base.OnAppearing();
await _vm.InitAsync(); await _vm.InitAsync();
if(_vm.PinLock) if(!_vm.FingerprintLock)
{ {
RequestFocus(PinEntry); if(_vm.PinLock)
} {
else if(!_vm.FingerprintLock) RequestFocus(PinEntry);
{ }
RequestFocus(MasterPasswordEntry); else
{
RequestFocus(MasterPasswordEntry);
}
} }
} }