diff options
author | Hailey <me@haileyok.com> | 2024-02-08 07:39:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 15:39:33 +0000 |
commit | 390a9f3dd57aa10c41620bcaeb114f6fb4f06f52 (patch) | |
tree | e8ee2b8d3a882620648625cfe1974b2aade49dec /src/view/com/composer/text-input/TextInput.web.tsx | |
parent | 83edb4446ddbee3bb3a64991601aa267b29c98b0 (diff) | |
download | voidsky-390a9f3dd57aa10c41620bcaeb114f6fb4f06f52.tar.zst |
use the palette's font color in the composer (as string) (#2792)
Diffstat (limited to 'src/view/com/composer/text-input/TextInput.web.tsx')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.web.tsx | 5 |
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 && ( |