Add audiobook Trash Bin
This commit is contained in:
parent
fe55b90ee3
commit
52a863c62a
18 changed files with 656 additions and 29 deletions
|
|
@ -168,11 +168,8 @@ namespace LibationWinForms
|
|||
"Are you sure you want to remove {0} from Libation's library?",
|
||||
"Remove books from Libation?");
|
||||
|
||||
if (confirmationResult != DialogResult.Yes)
|
||||
return;
|
||||
|
||||
var visibleIds = visibleLibraryBooks.Select(lb => lb.Book.AudibleProductId).ToList();
|
||||
await LibraryCommands.RemoveBooksAsync(visibleIds);
|
||||
if (confirmationResult is DialogResult.Yes)
|
||||
await visibleLibraryBooks.RemoveBooksAsync();
|
||||
}
|
||||
|
||||
private async void productsDisplay_VisibleCountChanged(object sender, int qty)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue