()
| 122 | } |
| 123 | |
| 124 | async dialogCancel() { |
| 125 | const port = this.getPort('Frame'); |
| 126 | port?.emit('dialog-cancel'); |
| 127 | if (await this.getPopup()) { |
| 128 | this.popup.close(); |
| 129 | this.setState({popupId: null, popupOpenerTabId: null}); |
| 130 | this.popup = null; |
| 131 | } else { |
| 132 | this.ports.dDialog.emit('lock'); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | async decrypt(armored, keyringId) { |
| 137 | this.ports.dDialog.emit('waiting', {waiting: true}); |