remove download cancel button while decrypting

This commit is contained in:
Danny Coates 2018-02-01 11:42:07 -08:00
parent dbfae53222
commit 2292267e39
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 22 additions and 18 deletions

View file

@ -64,6 +64,7 @@ export default class FileReceiver extends Nanobus {
const ciphertext = await download.result;
this.fileDownload = null;
this.msg = 'decryptingFile';
this.state = 'decrypting';
this.emit('decrypting');
const plaintext = await this.keychain.decryptFile(ciphertext);
if (this.cancelled) {