WIP: adding monkey to desktop

This commit is contained in:
ryleedavis 2023-07-26 14:12:19 -06:00
parent 3cb8a6a173
commit 5668b045e5

View file

@ -29,6 +29,7 @@ class MoreFeaturesDialog extends ConsumerStatefulWidget {
required this.onCoinControlPressed,
required this.onAnonymizeAllPressed,
required this.onWhirlpoolPressed,
required this.onMonkeyPressed,
}) : super(key: key);
final String walletId;
@ -36,6 +37,7 @@ class MoreFeaturesDialog extends ConsumerStatefulWidget {
final VoidCallback? onCoinControlPressed;
final VoidCallback? onAnonymizeAllPressed;
final VoidCallback? onWhirlpoolPressed;
final VoidCallback? onMonkeyPressed;
@override
ConsumerState<MoreFeaturesDialog> createState() => _MoreFeaturesDialogState();
@ -103,6 +105,13 @@ class _MoreFeaturesDialogState extends ConsumerState<MoreFeaturesDialog> {
iconAsset: Assets.svg.robotHead,
onPressed: () => widget.onPaynymPressed?.call(),
),
if (manager.coin == Coin.banano)
_MoreFeaturesItem(
label: "MonKey",
detail: "Generate Banano MonKey",
iconAsset: Assets.svg.monkey,
onPressed: () => widget.onMonkeyPressed?.call(),
),
const SizedBox(
height: 28,
),