Skip to content

Commit 2ff1eb6

Browse files
committed
Show the same total download size on confirmation and install page
Current install page show total download sizw w/o counting downloaded components
1 parent d170fda commit 2ff1eb6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

browser/pages/install/controller.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ class InstallController {
2424
if(value.isDownloadRequired()) {
2525
this.totalDownloads += value.totalDownloads;
2626
}
27-
this.totalAmount += value.size;
27+
if(!value.downloaded) {
28+
this.totalAmount += value.size;
29+
}
2830
}
2931
}
3032
this.itemProgress = new ProgressState('', undefined, undefined, undefined, this.$scope, this.$timeout);

0 commit comments

Comments
 (0)