Fix:Android re-scan folder removing/unlinking downloads

This commit is contained in:
advplyr
2023-02-17 15:49:53 -06:00
parent 210fb7b88f
commit 05d7d0d0d8
2 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ export const mutations = {
downloadItem.downloadItemParts = downloadItem.downloadItemParts.map(dip => {
let newDip = dip.id == downloadItemPart.id ? downloadItemPart : dip
totalBytes += Number(newDip.fileSize)
totalBytes += newDip.completed ? Number(newDip.bytesDownloaded) : Number(newDip.fileSize)
totalBytesDownloaded += Number(newDip.bytesDownloaded)
return newDip