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:
parent
dca567b00d
commit
e7df752581
@ -90,8 +90,17 @@ namespace Bit.App.Pages
|
||||
if(!_vm.YubikeyMethod)
|
||||
{
|
||||
_messagingService.Send("listenYubiKeyOTP", false);
|
||||
_broadcasterService.Unsubscribe(nameof(TwoFactorPage));
|
||||
}
|
||||
_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)
|
||||
|
Loading…
Reference in New Issue
Block a user