If no network, Single Download cannot be cancelled
Originally filed as https://github.com/ubports/ubuntu-download-manager/issues/30
Having SingleDownload{}
- Disconnect internet connection
- trigger download
- after having no network error i.e.
NetworkError: 3 - Host [].org not found
, cancel() the download
downloading = true (should be false) downloadInProgress = true (should be true?)