From 390a9f3dd57aa10c41620bcaeb114f6fb4f06f52 Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Thu, 8 Feb 2024 07:39:33 -0800
Subject: use the palette's font color in the composer (as string) (#2792)

---
 src/view/com/composer/text-input/TextInput.web.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/view/com/composer/text-input/TextInput.web.tsx')

diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx
index dbc2f11d2..199f1f749 100644
--- a/src/view/com/composer/text-input/TextInput.web.tsx
+++ b/src/view/com/composer/text-input/TextInput.web.tsx
@@ -228,7 +228,10 @@ export const TextInput = React.forwardRef(function TextInputImpl(
   return (
     <>
       <View style={styles.container}>
-        <EditorContent editor={editor} style={{color: pal.text.color}} />
+        <EditorContent
+          editor={editor}
+          style={{color: pal.text.color as string}}
+        />
       </View>
 
       {isDropping && (
-- 
cgit 1.4.1

