From 086c71126f967a640baeeed07818f1a107e924fd Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Thu, 16 Jul 2020 11:53:02 -0500 Subject: [PATCH] Allow only non-deleted creds to be added to autofill (#1015) --- src/iOS.Core/Utilities/ASHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iOS.Core/Utilities/ASHelpers.cs b/src/iOS.Core/Utilities/ASHelpers.cs index 38579ebcf..5e81438fb 100644 --- a/src/iOS.Core/Utilities/ASHelpers.cs +++ b/src/iOS.Core/Utilities/ASHelpers.cs @@ -29,7 +29,7 @@ namespace Bit.iOS.Core.Utilities var cipherService = ServiceContainer.Resolve("cipherService"); var identities = new List(); var ciphers = await cipherService.GetAllDecryptedAsync(); - foreach (var cipher in ciphers) + foreach (var cipher in ciphers.Where(x => !x.IsDeleted)) { var identity = ToCredentialIdentity(cipher); if (identity != null)