mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 23:03:23 +00:00
use AuthenticationRequestConfiguration
This commit is contained in:
@@ -70,7 +70,13 @@ namespace Bit.iOS.Extension
|
||||
|
||||
public async Task CheckFingerprintAsync()
|
||||
{
|
||||
var result = await _fingerprint.AuthenticateAsync(AppResources.FingerprintDirection);
|
||||
var fingerprintRequest = new AuthenticationRequestConfiguration(AppResources.FingerprintDirection)
|
||||
{
|
||||
AllowAlternativeAuthentication = true,
|
||||
CancelTitle = AppResources.Cancel,
|
||||
FallbackTitle = AppResources.LogOut
|
||||
};
|
||||
var result = await _fingerprint.AuthenticateAsync(fingerprintRequest);
|
||||
if(result.Authenticated)
|
||||
{
|
||||
_appSettingsService.Locked = false;
|
||||
|
||||
Reference in New Issue
Block a user