mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-22 21:55:03 -04:00
Fix PDF validation error (#1470 )
This commit is contained in:
1 parent
cdb91ae2ca
commit
fa30c10435
1 file changed
+1
-1
@@ -24,7 +24,7 @@ namespace DataLayer
|
||||
/// <summary>True if IsLiberated or Error. False if NotLiberated</summary>
|
||||
public bool AudioExists => book.UserDefinedItem.BookStatus is LiberatedStatus.Liberated or LiberatedStatus.Error;
|
||||
/// <summary>True if exists and IsLiberated. Else false</summary>
|
||||
public bool PdfExists => book.UserDefinedItem.PdfStatus == LiberatedStatus.NotLiberated;
|
||||
public bool PdfExists => book.UserDefinedItem.PdfStatus is LiberatedStatus.Liberated;
|
||||
/// <summary> Whether the book has any supplements </summary>
|
||||
public bool HasPdf => book.Supplements.Any();
|
||||
|
||||
|
||||
Reference in new issue
Block a user