From 1fa9402453d4de5577d4f7fdb0b4d807121d033c Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 6 Apr 2023 16:48:05 -0500 Subject: [PATCH] Fix darkmode placeholder text in composer (#406) * Remove old comment * Fix darkmode placeholder text in composer (close #401) --- src/view/com/auth/create/Step2.tsx | 145 ------------------ .../com/composer/text-input/TextInput.tsx | 1 + 2 files changed, 1 insertion(+), 145 deletions(-) diff --git a/src/view/com/auth/create/Step2.tsx b/src/view/com/auth/create/Step2.tsx index cf941a94..5a70e31a 100644 --- a/src/view/com/auth/create/Step2.tsx +++ b/src/view/com/auth/create/Step2.tsx @@ -144,148 +144,3 @@ const styles = StyleSheet.create({ justifyContent: 'center', }, }) - -/* - - -{serviceDescription?.inviteCodeRequired ? ( - - - - -) : undefined} - - - - - - - - - - -) : undefined} -{serviceDescription ? ( -<> - - - Choose your username - - - - - - setHandle(makeValidHandle(v))} - editable={!isProcessing} - /> - -{serviceDescription.availableUserDomains.length > 1 && ( - - - ({ - label: `.${d}`, - value: d, - }))} - onChange={itemValue => setUserDomain(itemValue)} - enabled={!isProcessing} - /> - -)} - - - Your full username will be{' '} - - @{createFullHandle(handle, userDomain)} - - - - - - - Legal - - - - - setIs13(!is13)}> - - {is13 && ( - - )} - - - I am 13 years old or older - - - -*/ diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index ec218657..bd536e1c 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -201,6 +201,7 @@ export const TextInput = React.forwardRef( onPaste={onPaste} onSelectionChange={onSelectionChange} placeholder={placeholder} + placeholderTextColor={pal.colors.textLight} keyboardAppearance={theme.colorScheme} multiline style={[pal.text, styles.textInput, styles.textInputFormatting]}>