diff --git a/CHANGELOG.md b/CHANGELOG.md index c2995909bf4..8a270d16d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ ## 4.17.2 +- added: "Add Wallet" button to bottom of `WalletListScene` - fixed: (Zcash/Pirate) Fixed android build issues +- fixed: Default home/assets scene post-login based on last visited scene +- fixed: Receive flip input default currency selection +- removed: Keyboard autofocus from `WalletListModal` ## 4.17.1 diff --git a/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap b/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap index 486a9a9424f..807061b8050 100644 --- a/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap +++ b/src/__tests__/modals/__snapshots__/WalletListModal.test.tsx.snap @@ -353,7 +353,7 @@ exports[`WalletListModal should render with loading props 1`] = ` } } accessible={true} - autoFocus={true} + autoFocus={false} disableAnimation={ { "value": 0, diff --git a/src/__tests__/scenes/__snapshots__/RequestScene.test.tsx.snap b/src/__tests__/scenes/__snapshots__/RequestScene.test.tsx.snap index 9a4c38e671c..68f2fcef740 100644 --- a/src/__tests__/scenes/__snapshots__/RequestScene.test.tsx.snap +++ b/src/__tests__/scenes/__snapshots__/RequestScene.test.tsx.snap @@ -191,7 +191,7 @@ exports[`Request should render with loaded props 1`] = ` marginRem={0} > console.log(`Failed to load account referral info`)) diff --git a/src/components/modals/WalletListModal.tsx b/src/components/modals/WalletListModal.tsx index 1f9b96f7add..8d7e0663594 100644 --- a/src/components/modals/WalletListModal.tsx +++ b/src/components/modals/WalletListModal.tsx @@ -213,7 +213,6 @@ export function WalletListModal(props: Props) { {headerTitle} { + navigation.navigate('createWalletSelectCrypto', {}) + }) + const tokenSupportingWalletIds = React.useMemo(() => { const walletIds: string[] = [] for (const wallet of Object.values(account.currencyWallets)) { @@ -129,8 +133,13 @@ export function WalletListScene(props: Props) { if (isSearching && tokenSupportingWalletIds.length > 0) { return } - return - }, [handlePressAddEditToken, handlePressRestoreWallets, tokenSupportingWalletIds, isSearching]) + return ( + + ) + }, [isSearching, tokenSupportingWalletIds.length, handlePressAddWallets, handlePressRestoreWallets, handlePressAddEditToken]) const renderFooter: FooterRender = React.useCallback( sceneWrapperInfo => {