diff --git a/frontend/lib/views/chat/chat_input_field.dart b/frontend/lib/views/chat/chat_input_field.dart index 650e0eff792c..63afa2319264 100644 --- a/frontend/lib/views/chat/chat_input_field.dart +++ b/frontend/lib/views/chat/chat_input_field.dart @@ -117,8 +117,7 @@ class _ChatInputFieldState extends State { controller: _controller, focusNode: _focusNode, // Enable enter key stroke to send the message - // Untested but submitted at Pwuts recommendation - onSubmitted: () { + onSubmitted: (_) { widget.onSendPressed(_controller.text); _controller.clear(); },