chore: replace call to send function with call to choreographer send function (#2746)
This commit is contained in:
parent
d792e9fc86
commit
c35ab4b47d
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue