Skip to content

Commit

Permalink
Add support for LLD tx history
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-edge committed Nov 21, 2024
1 parent 679cec3 commit 039dece
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

## 4.18.0

- added: Support for LLD & LLM transaction history
- added: Close button (X) for `EdgeModals,` specifically if a desktop platform is detected.
- changed: Auto-enable required tokens when navigating to `Stake*` scenes
- fixed: Incorrect `SwapInput` amounts on `SwapCreateScene` after changing wallet.
Expand Down
10 changes: 9 additions & 1 deletion src/components/scenes/TransactionDetailsScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,15 @@ const TransactionDetailsComponent = (props: Props) => {
</EdgeAnim>

<EdgeAnim enter={{ type: 'fadeInDown', distance: 120 }}>
<AdvancedDetailsCard transaction={transaction} url={sprintf(wallet.currencyInfo.transactionExplorer, transaction.txid)} />
<AdvancedDetailsCard
transaction={transaction}
url={sprintf(
wallet.currencyInfo.transactionExplorer,
// HACK: Liberland explorer (and maybe others in the future) can't
// search by hashed txid, so use the plugin provided url path
transaction.otherParams?.explorerPath ?? transaction.txid
)}
/>
</EdgeAnim>
<EdgeAnim enter={{ type: 'fadeInDown', distance: 140 }}>
<ButtonsView
Expand Down
2 changes: 1 addition & 1 deletion src/constants/WalletAndCurrencyConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ export const SPECIAL_CURRENCY_INFO: {
modalMessage: lstrings.request_lld_minimum_notification_body,
alertMessage: lstrings.request_lld_minimum_notification_alert_body
},
isTransactionListUnsupported: true,
isTransactionListUnsupported: false,
isImportKeySupported: true
},
liberlandtestnet: {
Expand Down

0 comments on commit 039dece

Please sign in to comment.