mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
parent
c1ce971adb
commit
214f308027
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue