mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 14:53:18 +00:00
support for per-user biometric state tracking (#1820)
This commit is contained in:
@@ -314,7 +314,7 @@ namespace Bit.iOS.Core.Controllers
|
||||
var success = await _platformUtilsService.AuthenticateBiometricAsync(null,
|
||||
_pinLock ? AppResources.PIN : AppResources.MasterPassword,
|
||||
() => MasterPasswordCell.TextField.BecomeFirstResponder());
|
||||
_stateService.BiometricLocked = !success;
|
||||
await _stateService.SetBiometricLockedAsync(!success);
|
||||
if (success)
|
||||
{
|
||||
DoContinue();
|
||||
@@ -356,7 +356,7 @@ namespace Bit.iOS.Core.Controllers
|
||||
await _stateService.SetPasswordVerifiedAutofillAsync(true);
|
||||
}
|
||||
await EnableBiometricsIfNeeded();
|
||||
_stateService.BiometricLocked = false;
|
||||
await _stateService.SetBiometricLockedAsync(false);
|
||||
MasterPasswordCell.TextField.ResignFirstResponder();
|
||||
Success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user