From a22032e3761994ec9974b73979b1f8f8f478fbf8 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Mon, 5 May 2025 14:14:48 -0400 Subject: [PATCH] chore: don't show send button on mobile keyboard in send on enter is null (#2671) --- lib/pangea/chat/widgets/pangea_chat_input_row.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) =>