Changed how the "View in block explorer" cell is placed in the transaction details page
Tanner Silva committed
Dec 21, 2020 at 18:47 UTC
01df91c946d6de418659ddd4e65bdb20033ba15c
1 file changed
+5
-7
lib/src/screens/transaction_details/transaction_details_page.dart
+5
-7
@@ -61,15 +61,10 @@ class TransactionDetailsPage extends BasePage {
61
value: recipientAddress));
62
}
63
}
64
- items.add(StandartListItem(
64
+ _items.addAll(items);
65
+ _items.add(StandartListItem(
66
title: "View in Block Explorer",
67
value: "https://xmrchain.net/search?value=${tx.id}"));
67
-
68
- if (tx.key?.isNotEmpty ?? null) {
69
- items.add(StandartListItem(title: 'Transaction Key', value: tx.key));
70
- }
71
-
72
- _items.addAll(items);
68
}
69
70
if (tx is BitcoinTransactionInfo) {
@@ -92,6 +87,9 @@ class TransactionDetailsPage extends BasePage {
87
];
88
89
_items.addAll(items);
90
+ _items.add(StandartListItem(
91
+ title: "View in Block Explorer",
92
+ value: "https://www.blockchain.com/btc/tx/${tx.id}"));
93
}
94
}
95