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
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) {