From 8cb55adf8c5436142f567749ce1ae6f9bc536e48 Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Tue, 11 Mar 2025 16:37:53 +0000
Subject: fix submit behaviour (#7959)

---
 src/screens/Messages/components/MessageInput.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/screens/Messages/components/MessageInput.tsx')

diff --git a/src/screens/Messages/components/MessageInput.tsx b/src/screens/Messages/components/MessageInput.tsx
index c97918fa0..ac0f7969f 100644
--- a/src/screens/Messages/components/MessageInput.tsx
+++ b/src/screens/Messages/components/MessageInput.tsx
@@ -177,8 +177,8 @@ export function MessageInput({
             {paddingBottom: isIOS ? 5 : 0},
             animatedStyle,
           ]}
-          keyboardAppearance={t.name === 'light' ? 'light' : 'dark'}
-          submitBehavior="submit"
+          keyboardAppearance={t.scheme}
+          submitBehavior="newline"
           onFocus={() => setIsFocused(true)}
           onBlur={() => setIsFocused(false)}
           ref={inputRef}
-- 
cgit 1.4.1

