Has PDFs => Has PDF

This commit is contained in:
Robert McRackan 2019-11-19 13:34:38 -05:00
parent b0139c47be
commit a1ba324166
2 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ namespace DataLayer
#region supplements
private HashSet<Supplement> _supplements;
public IEnumerable<Supplement> Supplements => _supplements?.ToList();
public bool HasPdfs => Supplements.Any();
public bool HasPdf => Supplements.Any();
public void AddSupplementDownloadUrl(string url)
{

View File

@ -146,8 +146,8 @@ namespace LibationWinForm
get
{
var details = new List<string>();
if (book.HasPdfs)
details.Add("Has PDFs");
if (book.HasPdf)
details.Add("Has PDF");
if (book.IsAbridged)
details.Add("Abridged");
if (book.DatePublished.HasValue)