mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:05:10 +00:00
chore: Follow up sendOnEnter fix
This commit is contained in:
parent
e60bc1c340
commit
1a3d7f5b1c
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class ChatInputRow extends StatelessWidget {
|
||||||
autofocus: !PlatformInfos.isMobile,
|
autofocus: !PlatformInfos.isMobile,
|
||||||
keyboardType: TextInputType.multiline,
|
keyboardType: TextInputType.multiline,
|
||||||
textInputAction:
|
textInputAction:
|
||||||
AppConfig.sendOnEnter ?? !PlatformInfos.isMobile
|
AppConfig.sendOnEnter == true && PlatformInfos.isMobile
|
||||||
? TextInputAction.send
|
? TextInputAction.send
|
||||||
: null,
|
: null,
|
||||||
onSubmitted: controller.onInputBarSubmitted,
|
onSubmitted: controller.onInputBarSubmitted,
|
||||||
|
|
Loading…
Reference in a new issue