mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-26 21:34:05 +02:00
Fix:iOS downloads #537
This commit is contained in:
+2
-2
@@ -130,8 +130,8 @@ export const mutations = {
|
||||
downloadItem.downloadItemParts = downloadItem.downloadItemParts.map(dip => {
|
||||
let newDip = dip.id == downloadItemPart.id ? downloadItemPart : dip
|
||||
|
||||
totalBytes += newDip.fileSize
|
||||
totalBytesDownloaded += newDip.bytesDownloaded
|
||||
totalBytes += Number(newDip.fileSize)
|
||||
totalBytesDownloaded += Number(newDip.bytesDownloaded)
|
||||
|
||||
return newDip
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user