diff --git a/src/App/Pages/Settings/SettingsPage.cs b/src/App/Pages/Settings/SettingsPage.cs index 1385c0cee..1134c17f5 100644 --- a/src/App/Pages/Settings/SettingsPage.cs +++ b/src/App/Pages/Settings/SettingsPage.cs @@ -89,7 +89,7 @@ namespace Bit.App.Pages TwoStepCell }; - if(false) + if((await _fingerprint.GetAvailabilityAsync()) == FingerprintAvailability.Available) { var fingerprintName = Helpers.OnPlatform(iOS: AppResources.TouchID, Android: AppResources.Fingerprint, WinPhone: AppResources.Fingerprint); diff --git a/src/App/Services/LockService.cs b/src/App/Services/LockService.cs index dc3fd52ea..967e8b268 100644 --- a/src/App/Services/LockService.cs +++ b/src/App/Services/LockService.cs @@ -69,8 +69,8 @@ namespace Bit.App.Services // What method are we using to unlock? var fingerprintUnlock = _settings.GetValueOrDefault(Constants.SettingFingerprintUnlockOn, false); var pinUnlock = _settings.GetValueOrDefault(Constants.SettingPinUnlockOn, false); - //var fingerprintAvailability = await _fingerprint.GetAvailabilityAsync(); - if(fingerprintUnlock && false) + var fingerprintAvailability = await _fingerprint.GetAvailabilityAsync(); + if(fingerprintUnlock && fingerprintAvailability == FingerprintAvailability.Available) { return LockType.Fingerprint; }