Skip to content

Commit

Permalink
Use value directly in placeholderTextColor
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Jan 9, 2024
1 parent 74a48a4 commit dcc54fa
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ exports[`TransactionListTop should render (with ENABLE_VISA_PROGRAM) 1`] = `
onFocus={[Function]}
onSubmitEditing={[Function]}
placeholder="Search Transactions"
placeholderTextColor={
{
"value": undefined,
}
}
returnKeyType="search"
scale={
{
Expand Down Expand Up @@ -1194,11 +1189,6 @@ exports[`TransactionListTop should render 1`] = `
onFocus={[Function]}
onSubmitEditing={[Function]}
placeholder="Search Transactions"
placeholderTextColor={
{
"value": undefined,
}
}
returnKeyType="search"
scale={
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ exports[`WalletListModal should render with loading props 1`] = `
onFocus={[Function]}
onSubmitEditing={[Function]}
placeholder="Search Wallets"
placeholderTextColor={
{
"value": undefined,
}
}
returnKeyType="search"
scale={
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
onFocus={[Function]}
onSubmitEditing={[Function]}
placeholder="Search Wallets"
placeholderTextColor={
{
"value": undefined,
}
}
scale={
{
"value": 1,
Expand Down
2 changes: 1 addition & 1 deletion src/components/themed/SimpleTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const SimpleTextInput = React.forwardRef<SimpleTextInputRef, SimpleTextIn
disableAnimation={disableAnimation}
focusAnimation={focusAnimation}
placeholder={placeholder}
placeholderTextColor={placeholderTextColor}
placeholderTextColor={placeholderTextColor.value}
selectionColor={theme.textInputTextColor}
testID={`${testID}.textInput`}
textAlignVertical="top"
Expand Down

0 comments on commit dcc54fa

Please sign in to comment.