about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-02-08 07:39:33 -0800
committerGitHub <noreply@github.com>2024-02-08 15:39:33 +0000
commit390a9f3dd57aa10c41620bcaeb114f6fb4f06f52 (patch)
treee8ee2b8d3a882620648625cfe1974b2aade49dec
parent83edb4446ddbee3bb3a64991601aa267b29c98b0 (diff)
downloadvoidsky-390a9f3dd57aa10c41620bcaeb114f6fb4f06f52.tar.zst
use the palette's font color in the composer (as string) (#2792)
-rw-r--r--src/view/com/composer/text-input/TextInput.web.tsx5
1 files changed, 4 insertions, 1 deletions
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 && (