mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 13:54:01 +02:00
Fix:Android re-scan folder removing/unlinking downloads
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user