Skip to content

Commit f52ec5d

Browse files
author
ignaciosantise
committed
chore: added help wallet link
1 parent eedc2b4 commit f52ec5d

File tree

1 file changed

+8
-4
lines changed
  • packages/scaffold/src/views/w3m-what-is-a-wallet-view

1 file changed

+8
-4
lines changed

packages/scaffold/src/views/w3m-what-is-a-wallet-view/index.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { ScrollView } from 'react-native';
2-
import { Button, FlexView, Text, Visual } from '@web3modal/ui-react-native';
1+
import { Linking, ScrollView } from 'react-native';
2+
import { Button, FlexView, Link, Text, Visual } from '@web3modal/ui-react-native';
33
import { EventsController, RouterController } from '@web3modal/core-react-native';
44
import { useCustomDimensions } from '../../hooks/useCustomDimensions';
55
import styles from './styles';
@@ -12,6 +12,10 @@ export function WhatIsAWalletView() {
1212
EventsController.sendEvent({ type: 'track', event: 'CLICK_GET_WALLET' });
1313
};
1414

15+
const onHelpPress = () => {
16+
Linking.openURL('https://secure.walletconnect.com/dashboard/faq');
17+
};
18+
1519
return (
1620
<ScrollView bounces={false} fadingEdgeLength={20} style={{ paddingHorizontal: padding }}>
1721
<FlexView alignItems="center" padding={['xs', '4xl', '3xl', '4xl']}>
@@ -56,9 +60,9 @@ export function WhatIsAWalletView() {
5660
>
5761
Get a wallet
5862
</Button>
59-
{/* <Link size="sm" iconLeft="helpCircle" onPress={() => undefined}>
63+
<Link size="sm" iconLeft="helpCircle" onPress={onHelpPress}>
6064
What is an email wallet?
61-
</Link> */}
65+
</Link>
6266
</FlexView>
6367
</ScrollView>
6468
);

0 commit comments

Comments
 (0)