mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
[PM-891] Remove check for biometrics from IsLocked method. (#2853)
This commit is contained in:
parent
9506595fdd
commit
c5288d3921
1 changed files with 0 additions and 7 deletions
|
@ -63,13 +63,6 @@ namespace Bit.Core.Services
|
|||
/// </param>
|
||||
public async Task<bool> IsLockedAsync(string userId = null)
|
||||
{
|
||||
// If biometrics are used, we can use the flag to determine locked state
|
||||
var biometricSet = await IsBiometricLockSetAsync(userId);
|
||||
if (biometricSet && await _stateService.GetBiometricLockedAsync(userId))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!await _cryptoService.HasUserKeyAsync(userId))
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue