update strings

This commit is contained in:
John Gruen 2019-02-22 16:42:08 +01:00
parent 47d75d8220
commit 7449d1c351
8 changed files with 87 additions and 57 deletions

View file

@ -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);