1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

focus yubikey token entry

This commit is contained in:
Kyle Spearrin
2019-06-01 01:08:18 -04:00
parent 5ce2eaf77e
commit ca27b34122
2 changed files with 6 additions and 1 deletions

View File

@@ -70,10 +70,14 @@ namespace Bit.App.Pages
await LoadOnAppearedAsync(_scrollView, true, () =>
{
_vm.Init();
if(_vm.TotpMethod || _vm.YubikeyMethod)
if(_vm.TotpMethod)
{
RequestFocus(_totpEntry);
}
else if(_vm.YubikeyMethod)
{
RequestFocus(_yubikeyTokenEntry);
}
return Task.FromResult(0);
});
}