mirror of
https://github.com/bitwarden/mobile
synced 2025-01-03 20:43:18 +01:00
rebuild same fingerprintName string
This commit is contained in:
parent
d73bf6d225
commit
762b574d49
@ -137,10 +137,18 @@ namespace Bit.App.Pages
|
||||
{
|
||||
await _vm.UpdatePinAsync();
|
||||
}
|
||||
else if(item.Name.Contains(AppResources.Fingerprint) || item.Name.Contains(AppResources.TouchID) ||
|
||||
item.Name.Contains(AppResources.FaceID))
|
||||
else
|
||||
{
|
||||
await _vm.UpdateFingerprintAsync();
|
||||
var fingerprintName = AppResources.Fingerprint;
|
||||
if(Device.RuntimePlatform == Device.iOS)
|
||||
{
|
||||
fingerprintName = _deviceActionService.SupportsFaceId() ?
|
||||
AppResources.FaceID : AppResources.TouchID;
|
||||
}
|
||||
if(item.Name == string.Format(AppResources.UnlockWith, fingerprintName))
|
||||
{
|
||||
await _vm.UpdateFingerprintAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user