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,15 +24,18 @@ namespace Bit.App.Pages
{ {
base.OnAppearing(); base.OnAppearing();
await _vm.InitAsync(); await _vm.InitAsync();
if(!_vm.FingerprintLock)
{
if(_vm.PinLock) if(_vm.PinLock)
{ {
RequestFocus(PinEntry); RequestFocus(PinEntry);
} }
else if(!_vm.FingerprintLock) else
{ {
RequestFocus(MasterPasswordEntry); RequestFocus(MasterPasswordEntry);
} }
} }
}
private void Unlock_Clicked(object sender, EventArgs e) private void Unlock_Clicked(object sender, EventArgs e)
{ {