Set the stage for batch processing

This commit is contained in:
Robert McRackan 2022-05-10 16:18:09 -04:00
parent dd5e162c10
commit c6ce814e1c
3 changed files with 40 additions and 16 deletions

View file

@ -141,9 +141,11 @@ namespace DataLayer
get => _bookStatus;
set
{
if (_bookStatus != value)
{
_bookStatus = value;
// PartialDownload is a live/ephemeral status, not a persistent one. Do not store
var displayStatus = value == LiberatedStatus.PartialDownload ? LiberatedStatus.NotLiberated : value;
if (_bookStatus != displayStatus)
{
_bookStatus = displayStatus;
OnItemChanged(nameof(BookStatus));
}
}