mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
txn2 flag in ui branch
This commit is contained in:
parent
bf8113f79e
commit
d78a3e5104
2 changed files with 6 additions and 5 deletions
|
@ -850,8 +850,11 @@ class _WalletViewState extends ConsumerState<WalletView> {
|
|||
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,
|
||||
|
|
|
@ -466,9 +466,7 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
|
|||
}
|
||||
} else {
|
||||
await Navigator.of(context).pushNamed(
|
||||
walletInfo.coin == Coin.bitcoincash ||
|
||||
walletInfo.coin ==
|
||||
Coin.bitcoincashTestnet
|
||||
wallet.isarTransactionVersion == 2
|
||||
? AllTransactionsV2View.routeName
|
||||
: AllTransactionsView.routeName,
|
||||
arguments: widget.walletId,
|
||||
|
|
Loading…
Reference in a new issue