From 6109091ec0f64bd0d724af1b49dfa3c5be8b7e88 Mon Sep 17 00:00:00 2001 From: Jake Fink Date: Mon, 4 Oct 2021 13:46:45 -0400 Subject: [PATCH] filter Ciphers to exclude deleted items (#1559) --- src/iOS.Core/Views/ExtensionTableSource.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iOS.Core/Views/ExtensionTableSource.cs b/src/iOS.Core/Views/ExtensionTableSource.cs index 8db1fc016..9aa5e1b4b 100644 --- a/src/iOS.Core/Views/ExtensionTableSource.cs +++ b/src/iOS.Core/Views/ExtensionTableSource.cs @@ -81,7 +81,8 @@ namespace Bit.iOS.Core.Views { searchFilter = searchFilter.ToLower(); var results = _searchService.SearchCiphersAsync(searchFilter, - c => c.Type == Bit.Core.Enums.CipherType.Login, null, ct).GetAwaiter().GetResult(); + c => c.Type == Bit.Core.Enums.CipherType.Login && !c.IsDeleted, null, ct) + .GetAwaiter().GetResult(); Items = results.Select(s => new CipherViewModel(s)).ToArray(); } }