Skip to content

Commit

Permalink
feat(suite-native): all bitcoin like accounts enabled for send flow
Browse files Browse the repository at this point in the history
  • Loading branch information
PeKne committed Aug 14, 2024
1 parent e131815 commit 9f6678f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions suite-native/module-send/src/screens/SendAccountsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import {
} from '@suite-native/navigation';
import { AccountKey } from '@suite-common/wallet-types';

// TODO: So far we do not want enable send form for any other network than Bitcoin Testnet and Regtest.
// TODO: So far we do not want enable send form for any other networkS than Bitcoin-like coins.
// This filter will be removed in a follow up PR.
const TESTNET_FILTER = 'TEST';
const BITCOIN_LIKE_FILTER = 'bitcoin';

export const SendAccountsScreen = ({
navigation,
Expand All @@ -28,8 +28,11 @@ export const SendAccountsScreen = ({
screenHeader={<DeviceManagerScreenHeader />}
subheader={<ScreenSubHeader content="Send from" leftIcon={<GoBackIcon />} />}
>
{/* TODO: Enable filtering same as receive screen has. */}
<AccountsList onSelectAccount={navigateToSendFormScreen} filterValue={TESTNET_FILTER} />
{/* TODO: Enable filtering same as receive screen account list has. */}
<AccountsList
onSelectAccount={navigateToSendFormScreen}
filterValue={BITCOIN_LIKE_FILTER}
/>
</Screen>
);
};

0 comments on commit 9f6678f

Please sign in to comment.