diff --git a/lib/pages/wallet_view/wallet_view.dart b/lib/pages/wallet_view/wallet_view.dart index 13f816560..ae0bead7e 100644 --- a/lib/pages/wallet_view/wallet_view.dart +++ b/lib/pages/wallet_view/wallet_view.dart @@ -850,8 +850,11 @@ class _WalletViewState extends ConsumerState { text: "See all", onTap: () { Navigator.of(context).pushNamed( - coin == Coin.bitcoincash || - coin == Coin.bitcoincashTestnet + ref + .read(pWallets) + .getWallet(widget.walletId) + .isarTransactionVersion == + 2 ? AllTransactionsV2View.routeName : AllTransactionsView.routeName, arguments: walletId, diff --git a/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_wallet_view.dart b/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_wallet_view.dart index 75afa80e2..dae79310e 100644 --- a/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_wallet_view.dart +++ b/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_wallet_view.dart @@ -466,9 +466,7 @@ class _DesktopWalletViewState extends ConsumerState { } } else { await Navigator.of(context).pushNamed( - walletInfo.coin == Coin.bitcoincash || - walletInfo.coin == - Coin.bitcoincashTestnet + wallet.isarTransactionVersion == 2 ? AllTransactionsV2View.routeName : AllTransactionsView.routeName, arguments: widget.walletId,