Revert "Allow re-adding completed queued items"

This reverts commit e2aae85fd7.
This commit is contained in:
MBucari 2025-04-27 14:31:21 -06:00
parent ece48eb6d7
commit 9ca879cc3d
2 changed files with 2 additions and 2 deletions

View file

@ -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;