diff --git a/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs b/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs index 59a2cb5dd..ee1b35778 100644 --- a/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs +++ b/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs @@ -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(); + } } } }