mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 07:13:33 +00:00
throttle fast type searches
This commit is contained in:
@@ -59,7 +59,9 @@ namespace Bit.iOS.Core.Views
|
||||
combinedLogins.AddRange(logins);
|
||||
}
|
||||
|
||||
_allItems = combinedLogins.Select(s => new CipherViewModel(s))
|
||||
_allItems = combinedLogins
|
||||
.Where(c => c.Type == App.Enums.CipherType.Login)
|
||||
.Select(s => new CipherViewModel(s))
|
||||
.OrderBy(s => s.Name)
|
||||
.ThenBy(s => s.Username)
|
||||
.ToList() ?? new List<CipherViewModel>();
|
||||
|
||||
Reference in New Issue
Block a user