Skip to content

Commit

Permalink
update: add zendesk real link
Browse files Browse the repository at this point in the history
  • Loading branch information
SorinC6 committed Oct 19, 2023
1 parent 7885bac commit 4feac42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react'
import {Linking, StyleSheet, Text, TouchableOpacity} from 'react-native'

import {SWAP_ZENDESK_LINK} from '../../../../yoroi-wallets/cardano/constants/common'
import {useStrings} from '../strings'

export const SwapInfoLink = () => {
const strings = useStrings()
return (
// TODO: add real link
<TouchableOpacity onPress={() => Linking.openURL('https://yoroi-wallet.com/#/')} style={styles.link}>
<TouchableOpacity onPress={() => Linking.openURL(SWAP_ZENDESK_LINK)} style={styles.link}>
<Text style={styles.linkText}>{strings.listOrdersSheetLink}</Text>
</TouchableOpacity>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const ACCOUNT_INDEX = 0
export const HARD_DERIVATION_START = 2147483648
export const CHIMERIC_ACCOUNT = 2
export const STAKING_KEY_INDEX = 0
export const SWAP_ZENDESK_LINK = 'https://emurgohelpdesk.zendesk.com/hc/en-us/sections/8154256843407-Swap'

export const WALLET_CONFIG = {
WALLET_IMPLEMENTATION_ID,
Expand Down

0 comments on commit 4feac42

Please sign in to comment.