mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-24 19:46:16 +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';
|
import 'package:hive/hive.dart';
|
||||||
|
|
||||||
String blockExplorerName(String inputName) {
|
|
||||||
if (inputName.contains("xmrchain")) {
|
|
||||||
return "XMRChain.net";
|
|
||||||
} else {
|
|
||||||
return "Blockchain.com";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class TransactionDetailsPage extends BasePage {
|
class TransactionDetailsPage extends BasePage {
|
||||||
TransactionDetailsPage(this.transactionInfo, bool showRecipientAddress,
|
TransactionDetailsPage(this.transactionInfo, bool showRecipientAddress,
|
||||||
Box<TransactionDescription> transactionDescriptionBox)
|
Box<TransactionDescription> transactionDescriptionBox)
|
||||||
|
@ -137,8 +129,7 @@ class TransactionDetailsPage extends BasePage {
|
||||||
},
|
},
|
||||||
child: StandartListRow(
|
child: StandartListRow(
|
||||||
title: '${item.title}:',
|
title: '${item.title}:',
|
||||||
value:
|
value: item.value,
|
||||||
"View transaction on ${blockExplorerName(item.value)}",
|
|
||||||
isDrawBottom: isFinalBlockExplorerItem),
|
isDrawBottom: isFinalBlockExplorerItem),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue