Clear text field when closing receive text dialog

This commit is contained in:
schlagmichdoch 2024-01-03 16:52:26 +01:00
parent dd0dc21db5
commit 676c68b6e7

View file

@ -2057,9 +2057,11 @@ class ReceiveTextDialog extends Dialog {
} }
hide() { hide() {
// Todo: clear text field
super.hide(); super.hide();
setTimeout(() => this._dequeueRequests(), 500); setTimeout(() => {
this._dequeueRequests();
this.$text.innerHTML = "";
}, 500);
} }
} }