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

This commit is contained in:
Tanner Silva 2020-11-30 11:16:14 -06:00
parent 630fd4f236
commit 20b5951d38

View file

@ -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<TransactionDescription> 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),
);
}