Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix darkmode placeholder text in composer (#406)

* Remove old comment

* Fix darkmode placeholder text in composer (close #401)

authored by

Paul Frazee and committed by
GitHub
1fa94024 b7648cfe

+1 -145
-145
src/view/com/auth/create/Step2.tsx
··· 144 144 justifyContent: 'center', 145 145 }, 146 146 }) 147 - 148 - /* 149 - 150 - <View style={[pal.borderDark, styles.group]}> 151 - {serviceDescription?.inviteCodeRequired ? ( 152 - <View 153 - style={[pal.border, styles.groupContent, styles.noTopBorder]}> 154 - <FontAwesomeIcon 155 - icon="ticket" 156 - style={[pal.textLight, styles.groupContentIcon]} 157 - /> 158 - <TextInput 159 - style={[pal.text, styles.textInput]} 160 - placeholder="Invite code" 161 - placeholderTextColor={pal.colors.textLight} 162 - autoCapitalize="none" 163 - autoCorrect={false} 164 - autoFocus 165 - keyboardAppearance={theme.colorScheme} 166 - value={inviteCode} 167 - onChangeText={setInviteCode} 168 - onBlur={onBlurInviteCode} 169 - editable={!isProcessing} 170 - /> 171 - </View> 172 - ) : undefined} 173 - <View style={[pal.border, styles.groupContent]}> 174 - <FontAwesomeIcon 175 - icon="envelope" 176 - style={[pal.textLight, styles.groupContentIcon]} 177 - /> 178 - <TextInput 179 - testID="registerEmailInput" 180 - style={[pal.text, styles.textInput]} 181 - placeholder="Email address" 182 - placeholderTextColor={pal.colors.textLight} 183 - autoCapitalize="none" 184 - autoCorrect={false} 185 - value={email} 186 - onChangeText={setEmail} 187 - editable={!isProcessing} 188 - /> 189 - </View> 190 - <View style={[pal.border, styles.groupContent]}> 191 - <FontAwesomeIcon 192 - icon="lock" 193 - style={[pal.textLight, styles.groupContentIcon]} 194 - /> 195 - <TextInput 196 - testID="registerPasswordInput" 197 - style={[pal.text, styles.textInput]} 198 - placeholder="Choose your password" 199 - placeholderTextColor={pal.colors.textLight} 200 - autoCapitalize="none" 201 - autoCorrect={false} 202 - secureTextEntry 203 - value={password} 204 - onChangeText={setPassword} 205 - editable={!isProcessing} 206 - /> 207 - </View> 208 - </View> 209 - </> 210 - ) : undefined} 211 - {serviceDescription ? ( 212 - <> 213 - <View style={styles.groupLabel}> 214 - <Text type="sm-bold" style={pal.text}> 215 - Choose your username 216 - </Text> 217 - </View> 218 - <View style={[pal.border, styles.group]}> 219 - <View 220 - style={[pal.border, styles.groupContent, styles.noTopBorder]}> 221 - <FontAwesomeIcon 222 - icon="at" 223 - style={[pal.textLight, styles.groupContentIcon]} 224 - /> 225 - <TextInput 226 - testID="registerHandleInput" 227 - style={[pal.text, styles.textInput]} 228 - placeholder="eg alice" 229 - placeholderTextColor={pal.colors.textLight} 230 - autoCapitalize="none" 231 - value={handle} 232 - onChangeText={v => setHandle(makeValidHandle(v))} 233 - editable={!isProcessing} 234 - /> 235 - </View> 236 - {serviceDescription.availableUserDomains.length > 1 && ( 237 - <View style={[pal.border, styles.groupContent]}> 238 - <FontAwesomeIcon 239 - icon="globe" 240 - style={styles.groupContentIcon} 241 - /> 242 - <Picker 243 - style={[pal.text, styles.picker]} 244 - labelStyle={styles.pickerLabel} 245 - iconStyle={pal.textLight as FontAwesomeIconStyle} 246 - value={userDomain} 247 - items={serviceDescription.availableUserDomains.map(d => ({ 248 - label: `.${d}`, 249 - value: d, 250 - }))} 251 - onChange={itemValue => setUserDomain(itemValue)} 252 - enabled={!isProcessing} 253 - /> 254 - </View> 255 - )} 256 - <View style={[pal.border, styles.groupContent]}> 257 - <Text style={[pal.textLight, s.p10]}> 258 - Your full username will be{' '} 259 - <Text type="md-bold" style={pal.textLight}> 260 - @{createFullHandle(handle, userDomain)} 261 - </Text> 262 - </Text> 263 - </View> 264 - </View> 265 - <View style={styles.groupLabel}> 266 - <Text type="sm-bold" style={pal.text}> 267 - Legal 268 - </Text> 269 - </View> 270 - <View style={[pal.border, styles.group]}> 271 - <View 272 - style={[pal.border, styles.groupContent, styles.noTopBorder]}> 273 - <TouchableOpacity 274 - testID="registerIs13Input" 275 - style={styles.textBtn} 276 - onPress={() => setIs13(!is13)}> 277 - <View 278 - style={[ 279 - pal.border, 280 - is13 ? styles.checkboxFilled : styles.checkbox, 281 - ]}> 282 - {is13 && ( 283 - <FontAwesomeIcon icon="check" style={s.blue3} size={14} /> 284 - )} 285 - </View> 286 - <Text style={[pal.text, styles.textBtnLabel]}> 287 - I am 13 years old or older 288 - </Text> 289 - </TouchableOpacity> 290 - </View> 291 - </View>*/
+1
src/view/com/composer/text-input/TextInput.tsx
··· 201 201 onPaste={onPaste} 202 202 onSelectionChange={onSelectionChange} 203 203 placeholder={placeholder} 204 + placeholderTextColor={pal.colors.textLight} 204 205 keyboardAppearance={theme.colorScheme} 205 206 multiline 206 207 style={[pal.text, styles.textInput, styles.textInputFormatting]}>