mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
Allow only non-deleted creds to be added to autofill (#1015)
This commit is contained in:
parent
10a78c1c94
commit
086c71126f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace Bit.iOS.Core.Utilities
|
||||||
var cipherService = ServiceContainer.Resolve<ICipherService>("cipherService");
|
var cipherService = ServiceContainer.Resolve<ICipherService>("cipherService");
|
||||||
var identities = new List<ASPasswordCredentialIdentity>();
|
var identities = new List<ASPasswordCredentialIdentity>();
|
||||||
var ciphers = await cipherService.GetAllDecryptedAsync();
|
var ciphers = await cipherService.GetAllDecryptedAsync();
|
||||||
foreach (var cipher in ciphers)
|
foreach (var cipher in ciphers.Where(x => !x.IsDeleted))
|
||||||
{
|
{
|
||||||
var identity = ToCredentialIdentity(cipher);
|
var identity = ToCredentialIdentity(cipher);
|
||||||
if (identity != null)
|
if (identity != null)
|
||||||
|
|
Loading…
Reference in a new issue