chore: Follow up sendOnEnter fix

pull/754/head
Krille 2 years 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, 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…
Cancel
Save