Merge pull request #348 from cake-tech/monero.com-explorer

Change Monero block explorer to Monero.com
This commit is contained in:
mkyq 2022-05-03 11:44:54 +01:00 committed by GitHub
commit 0caa7337af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,7 @@ abstract class TransactionDetailsViewModelBase with Store {
String _explorerUrl(WalletType type, String txId) {
switch (type) {
case WalletType.monero:
return 'https://xmrchain.net/search?value=${txId}';
return 'https://monero.com/tx/${txId}';
case WalletType.bitcoin:
return 'https://www.blockchain.com/btc/tx/${txId}';
case WalletType.litecoin:
@ -191,7 +191,7 @@ abstract class TransactionDetailsViewModelBase with Store {
String _explorerDescription(WalletType type) {
switch (type) {
case WalletType.monero:
return S.current.view_transaction_on + 'XMRChain.net';
return S.current.view_transaction_on + 'Monero.com';
case WalletType.bitcoin:
return S.current.view_transaction_on + 'Blockchain.com';
case WalletType.litecoin: