fix: send on enter
This commit is contained in:
parent
458f925d6d
commit
e8ffa34523
2 changed files with 11 additions and 4 deletions
|
|
@ -698,9 +698,10 @@ class ChatView extends StatelessWidget {
|
|||
minLines: 1,
|
||||
maxLines: 8,
|
||||
autofocus: !PlatformInfos.isMobile,
|
||||
keyboardType: AppConfig.sendOnEnter
|
||||
? null
|
||||
: TextInputType.multiline,
|
||||
keyboardType: TextInputType.multiline,
|
||||
textInputAction: AppConfig.sendOnEnter
|
||||
? TextInputAction.send
|
||||
: null,
|
||||
onSubmitted:
|
||||
controller.onInputBarSubmitted,
|
||||
focusNode: controller.inputFocus,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue