Revert "disable fingerprint test"

This reverts commit c1ce971adb.
This commit is contained in:
Kyle Spearrin 2017-11-27 13:56:11 -05:00
parent c1ce971adb
commit 214f308027
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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;
}