From 20b5951d3811d8674c4e82dfa1b73f9894ee27be Mon Sep 17 00:00:00 2001 From: Tanner Silva Date: Mon, 30 Nov 2020 11:16:14 -0600 Subject: [PATCH] Block explorer URL is now shown in its raw form in the user interface --- .../transaction_details/transaction_details_page.dart | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/src/screens/transaction_details/transaction_details_page.dart b/lib/src/screens/transaction_details/transaction_details_page.dart index ceb4825f2..8f93365f6 100644 --- a/lib/src/screens/transaction_details/transaction_details_page.dart +++ b/lib/src/screens/transaction_details/transaction_details_page.dart @@ -15,14 +15,6 @@ import 'package:url_launcher/url_launcher.dart'; import 'package:hive/hive.dart'; -String blockExplorerName(String inputName) { - if (inputName.contains("xmrchain")) { - return "XMRChain.net"; - } else { - return "Blockchain.com"; - } -} - class TransactionDetailsPage extends BasePage { TransactionDetailsPage(this.transactionInfo, bool showRecipientAddress, Box transactionDescriptionBox) @@ -137,8 +129,7 @@ class TransactionDetailsPage extends BasePage { }, child: StandartListRow( title: '${item.title}:', - value: - "View transaction on ${blockExplorerName(item.value)}", + value: item.value, isDrawBottom: isFinalBlockExplorerItem), ); }