Revert "Allow re-adding completed queued items"
This reverts commit e2aae85fd7.
This commit is contained in:
parent
ece48eb6d7
commit
9ca879cc3d
2 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ namespace LibationAvalonia.ViewModels
|
|||
var entry = Queue.FirstOrDefault(b => b?.LibraryBook?.Book?.AudibleProductId == libraryBook.Book.AudibleProductId);
|
||||
if (entry == null)
|
||||
return false;
|
||||
else if (entry.Status is ProcessBookStatus.Cancelled or ProcessBookStatus.Failed or ProcessBookStatus.Completed)
|
||||
else if (entry.Status is ProcessBookStatus.Cancelled or ProcessBookStatus.Failed)
|
||||
return !Queue.RemoveCompleted(entry);
|
||||
else
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue