diff --git a/lib/pangea/chat/widgets/pangea_chat_input_row.dart b/lib/pangea/chat/widgets/pangea_chat_input_row.dart index 93b314598..b556ec38b 100644 --- a/lib/pangea/chat/widgets/pangea_chat_input_row.dart +++ b/lib/pangea/chat/widgets/pangea_chat_input_row.dart @@ -324,8 +324,8 @@ class PangeaChatInputRowState extends State { maxLines: 8, autofocus: !PlatformInfos.isMobile, keyboardType: TextInputType.multiline, - textInputAction: AppConfig.sendOnEnter ?? - true && PlatformInfos.isMobile + textInputAction: AppConfig.sendOnEnter == true && + PlatformInfos.isMobile ? TextInputAction.send : null, onSubmitted: (String value) =>