Add: option to skip automatic redownload when removing from queue (#734)

* Add: option to skip automatic redownload when removing from queue

* Add tests for RedownloadFailedDownloadService

* Fix formatting

* Make re-download dialog conditional
This commit is contained in:
ta264
2019-06-10 19:56:44 +01:00
committed by GitHub
parent 0f6a3bca0c
commit 8cd9ab4a9f
13 changed files with 230 additions and 35 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ class Queue extends Component {
this.setState({ isConfirmRemoveModalOpen: true });
}
onRemoveSelectedConfirmed = (blacklist) => {
this.props.onRemoveSelectedPress(this.getSelectedIds(), blacklist);
onRemoveSelectedConfirmed = (blacklist, skipredownload) => {
this.props.onRemoveSelectedPress(this.getSelectedIds(), blacklist, skipredownload);
this.setState({ isConfirmRemoveModalOpen: false });
}