1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-30 17:38:11 +01:00

fix yubikey listening

This commit is contained in:
Kyle Spearrin 2019-06-10 10:53:11 -04:00
parent dca567b00d
commit e7df752581

View File

@ -90,9 +90,18 @@ namespace Bit.App.Pages
if(!_vm.YubikeyMethod)
{
_messagingService.Send("listenYubiKeyOTP", false);
}
_broadcasterService.Unsubscribe(nameof(TwoFactorPage));
}
}
protected override bool OnBackButtonPressed()
{
if(_vm.YubikeyMethod)
{
_messagingService.Send("listenYubiKeyOTP", false);
_broadcasterService.Unsubscribe(nameof(TwoFactorPage));
}
return base.OnBackButtonPressed();
}
private async void Continue_Clicked(object sender, EventArgs e)
{