MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / handleDecrypt

Function handleDecrypt

src/app/decrypt/Decrypt.js:59–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 async handleDecrypt() {
60 this.setState({waiting: true});
61 if (this.state.files.length > 0) {
62 await this.decryptFiles(this.state.files);
63 }
64 if (this.state.message !== '') {
65 await this.decryptMessage(this.state.message);
66 }
67 this.setState({waiting: false});
68 }
69
70 handleBack() {
71 this.setState({decrypted: []});

Callers

nothing calls this directly

Calls 3

decryptFilesMethod · 0.80
decryptMessageMethod · 0.80
setStateMethod · 0.45

Tested by

no test coverage detected