From dcc54fa275a7566a04ede9332728951d80e42061 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 9 Jan 2024 13:30:01 -0800 Subject: [PATCH] Use value directly in placeholderTextColor --- .../__snapshots__/TransactionListTop.test.tsx.snap | 10 ---------- .../modals/__snapshots__/WalletListModal.test.tsx.snap | 5 ----- .../CreateWalletSelectCryptoScene.test.tsx.snap | 5 ----- src/components/themed/SimpleTextInput.tsx | 2 +- 4 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/__tests__/components/__snapshots__/TransactionListTop.test.tsx.snap b/src/__tests__/components/__snapshots__/TransactionListTop.test.tsx.snap index ed3a6cb5a63..cec791740d3 100644 --- a/src/__tests__/components/__snapshots__/TransactionListTop.test.tsx.snap +++ b/src/__tests__/components/__snapshots__/TransactionListTop.test.tsx.snap @@ -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={ { @@ -1194,11 +1189,6 @@ exports[`TransactionListTop should render 1`] = ` onFocus={[Function]} onSubmitEditing={[Function]} placeholder="Search Transactions" - placeholderTextColor={ - { - "value": undefined, - } - } returnKeyType="search" scale={ { diff --git a/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap b/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap index 102ec1ae6a2..cfe55989d8c 100644 --- a/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap +++ b/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap @@ -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={ { diff --git a/src/__tests__/scenes/__snapshots__/CreateWalletSelectCryptoScene.test.tsx.snap b/src/__tests__/scenes/__snapshots__/CreateWalletSelectCryptoScene.test.tsx.snap index b07e27d777f..449a93570b7 100644 --- a/src/__tests__/scenes/__snapshots__/CreateWalletSelectCryptoScene.test.tsx.snap +++ b/src/__tests__/scenes/__snapshots__/CreateWalletSelectCryptoScene.test.tsx.snap @@ -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, diff --git a/src/components/themed/SimpleTextInput.tsx b/src/components/themed/SimpleTextInput.tsx index 5d0f5dec2ad..b761108f9bf 100644 --- a/src/components/themed/SimpleTextInput.tsx +++ b/src/components/themed/SimpleTextInput.tsx @@ -189,7 +189,7 @@ export const SimpleTextInput = React.forwardRef