mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 18:58:59 +03:00
Remove redundant call to set vault to unlocked (#1217)
This commit is contained in:
parent
4880dc58bd
commit
37fb1fadb8
1 changed files with 1 additions and 4 deletions
|
@ -363,15 +363,12 @@ class VaultLockManagerImpl(
|
|||
} else {
|
||||
// Retrieve the key. If non-null, unlock the user
|
||||
authDiskSource.getUserAutoUnlockKey(userId = userId)?.let {
|
||||
val result = unlockVaultForUser(
|
||||
unlockVaultForUser(
|
||||
userId = userId,
|
||||
initUserCryptoMethod = InitUserCryptoMethod.DecryptedKey(
|
||||
decryptedUserKey = it,
|
||||
),
|
||||
)
|
||||
if (result is VaultUnlockResult.Success) {
|
||||
setVaultToUnlocked(userId = userId)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue