From 2b81647fe1dea7865951533cb1533f8afda31270 Mon Sep 17 00:00:00 2001
From: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Date: Fri, 22 Apr 2022 11:17:43 -0500
Subject: [PATCH] Change Monero block explorer to Monero.com

Merge after Monero.com goes live
---
 lib/view_model/transaction_details_view_model.dart | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/view_model/transaction_details_view_model.dart b/lib/view_model/transaction_details_view_model.dart
index 6de28f238..64c764812 100644
--- a/lib/view_model/transaction_details_view_model.dart
+++ b/lib/view_model/transaction_details_view_model.dart
@@ -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: