UI: add enterkeyhint end into the MessageComposer

This commit is contained in:
Tawfiek 2021-04-30 04:15:11 +02:00
parent 5e9f728346
commit 31a9da09b2

View file

@ -28,6 +28,7 @@ export class MessageComposer extends TemplateView {
render(t, vm) {
this._input = t.input({
placeholder: vm.isEncrypted ? "Send an encrypted message…" : "Send a message…",
enterkeyhint: 'send',
onKeydown: e => this._onKeyDown(e),
onInput: () => vm.setInput(this._input.value),
});