1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Added fuzzy matches to autofill listing page. Allow autofilling from main vault search page when arriving from autofill service

This commit is contained in:
Kyle Spearrin
2017-02-13 19:12:02 -05:00
parent 99c81e5a5d
commit 75201c9b30
9 changed files with 276 additions and 638 deletions

View File

@@ -115,11 +115,10 @@ namespace Bit.iOS.Extension
{
var loginService = Resolver.Resolve<ILoginService>();
var logins = await loginService.GetAllAsync(_context.UrlString);
var loginModels = logins;
_tableItems = logins.Select(s => new LoginViewModel(s))
_tableItems = logins?.Item1.Select(s => new LoginViewModel(s))
.OrderBy(s => s.Name)
.ThenBy(s => s.Username)
.ToList();
.ToList() ?? new List<LoginViewModel>();
}
public IEnumerable<LoginViewModel> TableItems { get; set; }