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",
|
text: "See all",
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
coin == Coin.bitcoincash ||
|
ref
|
||||||
coin == Coin.bitcoincashTestnet
|
.read(pWallets)
|
||||||
|
.getWallet(widget.walletId)
|
||||||
|
.isarTransactionVersion ==
|
||||||
|
2
|
||||||
? AllTransactionsV2View.routeName
|
? AllTransactionsV2View.routeName
|
||||||
: AllTransactionsView.routeName,
|
: AllTransactionsView.routeName,
|
||||||
arguments: walletId,
|
arguments: walletId,
|
||||||
|
|
|
@ -466,9 +466,7 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await Navigator.of(context).pushNamed(
|
await Navigator.of(context).pushNamed(
|
||||||
walletInfo.coin == Coin.bitcoincash ||
|
wallet.isarTransactionVersion == 2
|
||||||
walletInfo.coin ==
|
|
||||||
Coin.bitcoincashTestnet
|
|
||||||
? AllTransactionsV2View.routeName
|
? AllTransactionsV2View.routeName
|
||||||
: AllTransactionsView.routeName,
|
: AllTransactionsView.routeName,
|
||||||
arguments: widget.walletId,
|
arguments: widget.walletId,
|
||||||
|
|
Loading…
Reference in a new issue