diff --git a/ReactNativeClient/lib/components/side-menu-content.js b/ReactNativeClient/lib/components/side-menu-content.js index 323fa85c4c..51f52ed990 100644 --- a/ReactNativeClient/lib/components/side-menu-content.js +++ b/ReactNativeClient/lib/components/side-menu-content.js @@ -225,9 +225,15 @@ class SideMenuContentComponent extends Component { decryptionReportText = _('Decrypting items: %d/%d', this.props.decryptionWorker.itemIndex + 1, this.props.decryptionWorker.itemCount); } + let resourceFetcherText = ''; + if (this.props.resourceFetcher && this.props.resourceFetcher.toFetchCount) { + resourceFetcherText = _('Fetching resources: %d', this.props.resourceFetcher.toFetchCount); + } + let fullReport = []; if (syncReportText) fullReport.push(syncReportText); - if (fullReport.length) fullReport.push(''); + // if (fullReport.length) fullReport.push(''); + if (resourceFetcherText) lines.push(resourceFetcherText); if (decryptionReportText) fullReport.push(decryptionReportText); while (fullReport.length < 12) fullReport.push(''); // Add blank lines so that height of report text is fixed and doesn't affect scrolling @@ -272,6 +278,7 @@ const SideMenuContent = connect( opacity: state.sideMenuOpenPercent, collapsedFolderIds: state.collapsedFolderIds, decryptionWorker: state.decryptionWorker, + resourceFetcher: state.resourceFetcher, }; } )(SideMenuContentComponent)