Fixup pressing enter to send message
This commit is contained in:
parent
7b1acc533b
commit
ca858fa309
|
@ -128,6 +128,7 @@ class _MessageViewState extends State<MessageView> {
|
|||
controller: ctrlrCompose,
|
||||
focusNode: focusNode,
|
||||
textInputAction: TextInputAction.send,
|
||||
onFieldSubmitted: _sendMessage,
|
||||
decoration: InputDecoration(
|
||||
enabledBorder: InputBorder.none,
|
||||
focusedBorder: InputBorder.none,
|
||||
|
|
|
@ -30,6 +30,7 @@ class _CwtchTextFieldState extends State<CwtchPasswordField> {
|
|||
validator: widget.validator,
|
||||
obscureText: obscureText,
|
||||
enableSuggestions: false,
|
||||
textInputAction: TextInputAction.continueAction,
|
||||
autocorrect: false,
|
||||
decoration: InputDecoration(
|
||||
suffixIcon: IconButton(
|
||||
|
|
Loading…
Reference in New Issue