From 1a3d7f5b1c3c85b312b528ffd92fb8eed5d6bba3 Mon Sep 17 00:00:00 2001 From: Krille Date: Wed, 27 Dec 2023 15:50:43 +0100 Subject: [PATCH] chore: Follow up sendOnEnter fix --- lib/pages/chat/chat_input_row.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/chat/chat_input_row.dart b/lib/pages/chat/chat_input_row.dart index d72e4cf3..e1794da9 100644 --- a/lib/pages/chat/chat_input_row.dart +++ b/lib/pages/chat/chat_input_row.dart @@ -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,