Block explorer URL is now shown in its raw form in the user interface

Tanner Silva committed Nov 30, 2020 at 11:16 UTC 20b5951d3811d8674c4e82dfa1b73f9894ee27be
1 file changed +1 -10
lib/src/screens/transaction_details/transaction_details_page.dart
+1 -10
@@ -15,14 +15,6 @@ import 'package:url_launcher/url_launcher.dart';
15
16 import 'package:hive/hive.dart';
17
18 -String blockExplorerName(String inputName) {
19 - if (inputName.contains("xmrchain")) {
20 - return "XMRChain.net";
21 - } else {
22 - return "Blockchain.com";
23 - }
24 -}
25 -
18 class TransactionDetailsPage extends BasePage {
19 TransactionDetailsPage(this.transactionInfo, bool showRecipientAddress,
20 Box<TransactionDescription> transactionDescriptionBox)
@@ -137,8 +129,7 @@ class TransactionDetailsPage extends BasePage {
129 },
130 child: StandartListRow(
131 title: '${item.title}:',
140 - value:
141 - "View transaction on ${blockExplorerName(item.value)}",
132 + value: item.value,
133 isDrawBottom: isFinalBlockExplorerItem),
134 );
135 }