mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
parent
c1ce971adb
commit
214f308027
2 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ namespace Bit.App.Pages
|
||||||
TwoStepCell
|
TwoStepCell
|
||||||
};
|
};
|
||||||
|
|
||||||
if(false)
|
if((await _fingerprint.GetAvailabilityAsync()) == FingerprintAvailability.Available)
|
||||||
{
|
{
|
||||||
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);
|
||||||
|
|
|
@ -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 && false)
|
if(fingerprintUnlock && fingerprintAvailability == FingerprintAvailability.Available)
|
||||||
{
|
{
|
||||||
return LockType.Fingerprint;
|
return LockType.Fingerprint;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue