()
| 228 | class ReceiveDialog extends Dialog { |
| 229 | |
| 230 | constructor() { |
| 231 | super('receiveDialog'); |
| 232 | Events.on('file-received', e => { |
| 233 | this._nextFile(e.detail); |
| 234 | window.blop.play(); |
| 235 | }); |
| 236 | this._filesQueue = []; |
| 237 | } |
| 238 | |
| 239 | _nextFile(nextFile) { |
| 240 | if (nextFile) this._filesQueue.push(nextFile); |