chore: Follow up sendOnEnter fix

pull/754/head
Krille 1 year ago
parent e60bc1c340
commit 1a3d7f5b1c
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -251,7 +251,7 @@ class ChatInputRow extends StatelessWidget {
autofocus: !PlatformInfos.isMobile,
keyboardType: TextInputType.multiline,
textInputAction:
AppConfig.sendOnEnter ?? !PlatformInfos.isMobile
AppConfig.sendOnEnter == true && PlatformInfos.isMobile
? TextInputAction.send
: null,
onSubmitted: controller.onInputBarSubmitted,

Loading…
Cancel
Save