Skip to content

Commit

Permalink
Merge pull request #4424 from EdgeApp/matthew/emptyTxListExplorerLink
Browse files Browse the repository at this point in the history
Fix Liberland tx history scene display
  • Loading branch information
peachbits authored Sep 4, 2023
2 parents 35ec048 + 185e3ab commit 3b893a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/themed/ExplorerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ export const ExplorerCard = (props: Props) => {
return (
<View>
<ButtonBox onPress={handlePress} paddingRem={1}>
<View style={styles.container}>
<CryptoIcon walletId={wallet.id} tokenId={tokenId} marginRem={[0.25, 0]} sizeRem={2.25} />
<EdgeText style={styles.explorerButtonText}>{lstrings.transaction_details_advance_details_show_explorer}</EdgeText>
</View>
{addressExplorer === '' ? null : (
<View style={styles.container}>
<CryptoIcon walletId={wallet.id} tokenId={tokenId} marginRem={[0.25, 0]} sizeRem={2.25} />
<EdgeText style={styles.explorerButtonText}>{lstrings.transaction_details_advance_details_show_explorer}</EdgeText>
</View>
)}
</ButtonBox>
<View style={styles.noTransactionContainer}>
<EdgeText style={styles.noTransactionText}>{lstrings.transaction_list_no_tx_support_yet}</EdgeText>
Expand Down
2 changes: 2 additions & 0 deletions src/constants/WalletAndCurrencyConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ export const SPECIAL_CURRENCY_INFO: {
alertMessage: lstrings.request_dot_minimum_notification_alert_body
},
isCustomTokensSupported: true,
isTransactionListUnsupported: true,
isImportKeySupported: true
},
liberlandtestnet: {
Expand All @@ -684,6 +685,7 @@ export const SPECIAL_CURRENCY_INFO: {
alertMessage: lstrings.request_dot_minimum_notification_alert_body
},
isCustomTokensSupported: true,
isTransactionListUnsupported: true,
isImportKeySupported: true
},
zcash: {
Expand Down

0 comments on commit 3b893a5

Please sign in to comment.