1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-27 12:26:31 +01:00

disable fingerprint test

This commit is contained in:
Kyle Spearrin 2017-11-27 13:25:19 -05:00
parent f5896be699
commit c1ce971adb
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ namespace Bit.App.Pages
TwoStepCell TwoStepCell
}; };
if((await _fingerprint.GetAvailabilityAsync()) == FingerprintAvailability.Available) if(false)
{ {
var fingerprintName = Helpers.OnPlatform(iOS: AppResources.TouchID, Android: AppResources.Fingerprint, var fingerprintName = Helpers.OnPlatform(iOS: AppResources.TouchID, Android: AppResources.Fingerprint,
WinPhone: AppResources.Fingerprint); WinPhone: AppResources.Fingerprint);

View File

@ -69,8 +69,8 @@ namespace Bit.App.Services
// What method are we using to unlock? // What method are we using to unlock?
var fingerprintUnlock = _settings.GetValueOrDefault(Constants.SettingFingerprintUnlockOn, false); var fingerprintUnlock = _settings.GetValueOrDefault(Constants.SettingFingerprintUnlockOn, false);
var pinUnlock = _settings.GetValueOrDefault(Constants.SettingPinUnlockOn, false); var pinUnlock = _settings.GetValueOrDefault(Constants.SettingPinUnlockOn, false);
var fingerprintAvailability = await _fingerprint.GetAvailabilityAsync(); //var fingerprintAvailability = await _fingerprint.GetAvailabilityAsync();
if(fingerprintUnlock && fingerprintAvailability == FingerprintAvailability.Available) if(fingerprintUnlock && false)
{ {
return LockType.Fingerprint; return LockType.Fingerprint;
} }