chore: replace call to send function with call to choreographer send function (#2746)

pull/2245/head
ggurdin 6 months ago committed by GitHub
parent d792e9fc86
commit c35ab4b47d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -327,7 +327,10 @@ class ChatController extends State<ChatPageWithRoom>
if (!HardwareKeyboard.instance.isShiftPressed &&
evt.logicalKey.keyLabel == 'Enter') {
if (evt is KeyDownEvent) {
send();
// #Pangea
// send();
choreographer.send(context);
// Pangea#
}
return KeyEventResult.handled;
} else {

Loading…
Cancel
Save