diff --git a/backup.js b/backup.js index 3ee71f54b..75e236049 100644 --- a/backup.js +++ b/backup.js @@ -29,7 +29,7 @@ function bangleDownload() { promise = promise.then(() => { Progress.hide({sticky: true}); var percent = n/fileCount; - Progress.show({title:`Download ${filename}`,sticky:true,min:percent,max:percent,percent:0}); + Progress.show({title:`Download ${filename}`,sticky:true,min:percent,max:percent+(1/fileCount),percent:0}); return Comms.readFile(filename).then(data => zip.file(filename,data)); }); }); @@ -40,7 +40,7 @@ function bangleDownload() { promise = promise.then(() => { Progress.hide({sticky: true}); var percent = (normalFiles.length+n)/fileCount; - Progress.show({title:`Download ${filename}`,sticky:true,min:percent,max:percent,percent:0}); + Progress.show({title:`Download ${filename}`,sticky:true,min:percent,max:percent+(1/fileCount),percent:0}); return Comms.readStorageFile(filename).then(data => zipStorageFiles.file(filename,data)); }); }); diff --git a/core b/core index 6e94cf77a..27c7db603 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 6e94cf77a2b355389dcd5efa55e2249a9b31983c +Subproject commit 27c7db6035832837ca3909ea52939f60803df72f