mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-02 18:07:56 +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)
|
if(!_vm.YubikeyMethod)
|
||||||
{
|
{
|
||||||
_messagingService.Send("listenYubiKeyOTP", false);
|
_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)
|
private async void Continue_Clicked(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user