mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
Monkey option only shows for banano wallets
This commit is contained in:
parent
bce8ae6b4e
commit
8b8ce89ced
1 changed files with 17 additions and 16 deletions
|
@ -927,22 +927,23 @@ class _WalletViewState extends ConsumerState<WalletView> {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
WalletNavigationBarItemData(
|
if (coin == Coin.banano)
|
||||||
icon: SvgPicture.asset(
|
WalletNavigationBarItemData(
|
||||||
Assets.svg.monkey,
|
icon: SvgPicture.asset(
|
||||||
height: 20,
|
Assets.svg.monkey,
|
||||||
width: 20,
|
height: 20,
|
||||||
color: Theme.of(context)
|
width: 20,
|
||||||
.extension<StackColors>()!
|
color: Theme.of(context)
|
||||||
.bottomNavIconIcon,
|
.extension<StackColors>()!
|
||||||
),
|
.bottomNavIconIcon,
|
||||||
label: "MonKey",
|
),
|
||||||
onTap: () {
|
label: "MonKey",
|
||||||
Navigator.of(context).pushNamed(
|
onTap: () {
|
||||||
MonkeyView.routeName,
|
Navigator.of(context).pushNamed(
|
||||||
arguments: widget.walletId,
|
MonkeyView.routeName,
|
||||||
);
|
arguments: widget.walletId,
|
||||||
}),
|
);
|
||||||
|
}),
|
||||||
if (ref.watch(
|
if (ref.watch(
|
||||||
walletsChangeNotifierProvider.select(
|
walletsChangeNotifierProvider.select(
|
||||||
(value) => value
|
(value) => value
|
||||||
|
|
Loading…
Reference in a new issue