Updated RemoveBooksDialog to use latest GridEntry

This commit is contained in:
Michael Bucari-Tovo 2021-08-09 23:11:37 -06:00
parent 2ef746a94c
commit c7454ea5d2
5 changed files with 97 additions and 93 deletions

View file

@ -39,7 +39,7 @@ namespace ApplicationServices
var libraryItems = await scanAccountsAsync(loginCallbackFactoryFunc, accounts);
Log.Logger.Information($"GetAllLibraryItems: Total count {libraryItems.Count}");
var missingBookList = existingLibrary.Where(b => libraryItems.Count(i => i.DtoItem.Asin == b.Book.AudibleProductId) == 0).ToList();
var missingBookList = existingLibrary.Where(b => !libraryItems.Any(i => i.DtoItem.Asin == b.Book.AudibleProductId)).ToList();
return missingBookList;
}