mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 03:05:11 +00:00
Changed how the "View in block explorer" cell is placed in the transaction details page
This commit is contained in:
parent
558c6fff22
commit
01df91c946
1 changed files with 5 additions and 7 deletions
|
@ -61,15 +61,10 @@ class TransactionDetailsPage extends BasePage {
|
|||
value: recipientAddress));
|
||||
}
|
||||
}
|
||||
items.add(StandartListItem(
|
||||
_items.addAll(items);
|
||||
_items.add(StandartListItem(
|
||||
title: "View in Block Explorer",
|
||||
value: "https://xmrchain.net/search?value=${tx.id}"));
|
||||
|
||||
if (tx.key?.isNotEmpty ?? null) {
|
||||
items.add(StandartListItem(title: 'Transaction Key', value: tx.key));
|
||||
}
|
||||
|
||||
_items.addAll(items);
|
||||
}
|
||||
|
||||
if (tx is BitcoinTransactionInfo) {
|
||||
|
@ -92,6 +87,9 @@ class TransactionDetailsPage extends BasePage {
|
|||
];
|
||||
|
||||
_items.addAll(items);
|
||||
_items.add(StandartListItem(
|
||||
title: "View in Block Explorer",
|
||||
value: "https://www.blockchain.com/btc/tx/${tx.id}"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue