diff --git a/app/locales/en-US/downloads.l20n b/app/locales/en-US/downloads.l20n index d4bb1e5985a..29cd2234c7d 100644 --- a/app/locales/en-US/downloads.l20n +++ b/app/locales/en-US/downloads.l20n @@ -6,6 +6,7 @@ + diff --git a/js/components/downloadsBar.js b/js/components/downloadsBar.js index ba3582cc1eb..db4ea57efe4 100644 --- a/js/components/downloadsBar.js +++ b/js/components/downloadsBar.js @@ -87,7 +87,7 @@ class DownloadItem extends ImmutableComponent { } { - this.isInProgress || this.isPaused + (this.isInProgress || this.isPaused) && this.props.download.get('totalBytes') ?
: null } diff --git a/js/state/downloadUtil.js b/js/state/downloadUtil.js index 7759424d9da..e30bd8827b0 100644 --- a/js/state/downloadUtil.js +++ b/js/state/downloadUtil.js @@ -38,7 +38,11 @@ module.exports.getL10nId = (download) => { case downloadStates.CANCELLED: return 'downloadCancelled' case downloadStates.IN_PROGRESS: - return 'downloadInProgress' + if (!download.get('totalBytes')) { + return 'downloadInProgressUnknownTotal' + } else { + return 'downloadInProgress' + } case downloadStates.COMPLETED: return 'downloadCompleted' case downloadStates.PAUSED: