Update transaction_details_view_model.dart (#1690)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

Replacement proposal for the closed nano and banano explorers
This commit is contained in:
MyEcoria 2024-09-26 04:16:31 +02:00 committed by GitHub
parent 9edd87b0af
commit 331d6ee648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,9 +160,9 @@ abstract class TransactionDetailsViewModelBase with Store {
case WalletType.ethereum: case WalletType.ethereum:
return 'https://etherscan.io/tx/${txId}'; return 'https://etherscan.io/tx/${txId}';
case WalletType.nano: case WalletType.nano:
return 'https://nanolooker.com/block/${txId}'; return 'https://nanexplorer.com/nano/block/${txId}';
case WalletType.banano: case WalletType.banano:
return 'https://bananolooker.com/block/${txId}'; return 'https://nanexplorer.com/banano/block/${txId}';
case WalletType.polygon: case WalletType.polygon:
return 'https://polygonscan.com/tx/${txId}'; return 'https://polygonscan.com/tx/${txId}';
case WalletType.solana: case WalletType.solana:
@ -190,9 +190,9 @@ abstract class TransactionDetailsViewModelBase with Store {
case WalletType.ethereum: case WalletType.ethereum:
return S.current.view_transaction_on + 'etherscan.io'; return S.current.view_transaction_on + 'etherscan.io';
case WalletType.nano: case WalletType.nano:
return S.current.view_transaction_on + 'nanolooker.com'; return S.current.view_transaction_on + 'nanexplorer.com';
case WalletType.banano: case WalletType.banano:
return S.current.view_transaction_on + 'bananolooker.com'; return S.current.view_transaction_on + 'nanexplorer.com';
case WalletType.polygon: case WalletType.polygon:
return S.current.view_transaction_on + 'polygonscan.com'; return S.current.view_transaction_on + 'polygonscan.com';
case WalletType.solana: case WalletType.solana: