Offline albums fix, adaptive icon, option to replace downloads

This commit is contained in:
exttex 2020-09-13 16:06:12 +02:00
parent a494601ab0
commit 24e598fe99
6 changed files with 80 additions and 7 deletions

View file

@ -598,6 +598,14 @@ class Download {
this.path = p.join(this.path, _filename);
}
//Check if file exists
if (await File(this.path).exists() && !settings.overwriteDownload) {
this.state = DownloadState.DONE;
onDone();
return;
}
//Download
this.state = DownloadState.DOWNLOADING;