diff --git a/app/fileSender.js b/app/fileSender.js index 47955068..7fabc4bf 100644 --- a/app/fileSender.js +++ b/app/fileSender.js @@ -17,7 +17,9 @@ export default class FileSender extends Nanobus { } get progressIndefinite() { - return ['fileSizeProgress', 'notifyUploadDone'].indexOf(this.msg) === -1; + return ( + ['fileSizeProgress', 'notifyUploadEncryptDone'].indexOf(this.msg) === -1 + ); } get sizes() { @@ -75,7 +77,7 @@ export default class FileSender extends Nanobus { try { const result = await this.uploadRequest.result; const time = Date.now() - start; - this.msg = 'notifyUploadDone'; + this.msg = 'notifyUploadEncryptDone'; this.uploadRequest = null; this.progress = [1, 1]; const secretKey = arrayToB64(this.keychain.rawSecret); diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index 56eff232..556b194a 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -1,4 +1,4 @@ -/* global Android */ +/* global Android LIMITS */ const html = require('choo/html'); const raw = require('choo/html/raw'); @@ -266,8 +266,8 @@ module.exports.wip = function(state, emit) { onchange="${add}" />
+ ${state.translate('signInSizeBump', { + size: bytes(LIMITS.MAX_FILE_SIZE, 0) + })} +
+ `; return html`
- ${state.translate('copyUrlFormLabelWithName', { filename: name })}
+ ${state.translate('copyUrlFormLabel')}
+ ${name}
- ${state.translate('accountBenefitTitle')} -