Change Monero block explorer to Monero.com

Merge after Monero.com goes live
This commit is contained in:
Justin Ehrenhofer 2022-04-22 11:17:43 -05:00
parent 6cd07278cc
commit 2b81647fe1

View file

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