mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
Block explorer URL is now shown in its raw form in the user interface
This commit is contained in:
parent
630fd4f236
commit
20b5951d38
1 changed files with 1 additions and 10 deletions
|
@ -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),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue