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();
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);
}
}
}