Skip to content

Commit

Permalink
Merge pull request #1125 from gabrielbazan7/ref/hide-ledgerfeature
Browse files Browse the repository at this point in the history
[REF] hide entry points for ledger
  • Loading branch information
JohnathanWhite authored Apr 11, 2024
2 parents 90ae0f6 + a1c198f commit fa9308e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ import InAppMessage from './components/modal/in-app-message/InAppMessage';
import SettingsGroup, {
SettingsGroupParamList,
} from './navigation/tabs/settings/SettingsGroup';
import {ImportLedgerWalletModal} from './components/modal/import-ledger-wallet/ImportLedgerWalletModal';
// import {ImportLedgerWalletModal} from './components/modal/import-ledger-wallet/ImportLedgerWalletModal';

// ROOT NAVIGATION CONFIG
export type RootStackParamList = {
Expand Down Expand Up @@ -578,7 +578,7 @@ export default () => {
<BlurContainer />
<PinModal />
<BiometricModal />
<ImportLedgerWalletModal />
{/* <ImportLedgerWalletModal /> */}
</NavigationContainer>
</ThemeProvider>
</SafeAreaProvider>
Expand Down
4 changes: 2 additions & 2 deletions src/navigation/onboarding/screens/CreateKey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ const CreateOrImportKey = ({
{t('I already have a Key')}
</Button>
</ActionContainer>
<ActionContainer>
{/* <ActionContainer>
<Button
buttonStyle={'secondary'}
onPress={() => {
dispatch(AppActions.importLedgerModalToggled(true));
}}>
{t('Connect your Ledger Nano X')}
</Button>
</ActionContainer>
</ActionContainer> */}
</CtaContainer>
</ScrollView>
</CreateKeyContainer>
Expand Down
8 changes: 4 additions & 4 deletions src/navigation/tabs/home/components/Crypto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import {WrongPasswordError} from '../../../wallet/components/ErrorMessages';
import {useTranslation} from 'react-i18next';
import {t} from 'i18next';
import {Analytics} from '../../../../store/analytics/analytics.effects';
import {ConnectLedgerNanoXCard} from './cards/ConnectLedgerNanoX';
// import {ConnectLedgerNanoXCard} from './cards/ConnectLedgerNanoX';
import {AppActions} from '../../../../store/app';

const CryptoContainer = styled.View`
Expand Down Expand Up @@ -221,7 +221,7 @@ export const createHomeCardList = ({

defaults.push({id: 'createWallet', component: <CreateWallet />});

defaults.push({id: 'connectLedger', component: <ConnectLedgerNanoXCard />});
// defaults.push({id: 'connectLedger', component: <ConnectLedgerNanoXCard />});

if (hasCoinbase) {
list.push({
Expand Down Expand Up @@ -338,13 +338,13 @@ const Crypto = () => {
? 'Coinbase'
: t('Connect your Coinbase account')}
</Button>
<Button
{/* <Button
buttonStyle={'secondary'}
onPress={() => {
dispatch(AppActions.importLedgerModalToggled(true));
}}>
{t('Connect your Ledger Nano X')}
</Button>
</Button> */}
</ButtonContainer>
</Column>
</SectionHeaderContainer>
Expand Down

0 comments on commit fa9308e

Please sign in to comment.