mirror of
https://github.com/bitwarden/mobile
synced 2025-12-19 09:43:27 +00:00
cleanup
This commit is contained in:
@@ -116,11 +116,8 @@ namespace Bit.iOS
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(Xamarin.Forms.Application.Current,
|
||||
"ListenYubiKeyOTP", (sender, listen) =>
|
||||
{
|
||||
if(!_deviceInfoService.NfcEnabled)
|
||||
if(_deviceInfoService.NfcEnabled)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_nfcSession?.InvalidateSession();
|
||||
_nfcSession?.Dispose();
|
||||
_nfcSession = null;
|
||||
@@ -130,6 +127,7 @@ namespace Bit.iOS
|
||||
_nfcSession.AlertMessage = AppResources.HoldYubikeyNearTop;
|
||||
_nfcSession.BeginSession();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
UIApplication.SharedApplication.StatusBarHidden = false;
|
||||
|
||||
Reference in New Issue
Block a user