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) {
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: