mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 02:24:30 +00:00
disable paynym in view only wallets ui
This commit is contained in:
parent
44f9886ffd
commit
1d22eed7c4
2 changed files with 2 additions and 2 deletions
|
@ -1138,7 +1138,7 @@ class _WalletViewState extends ConsumerState<WalletView> {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
if (wallet is PaynymInterface)
|
if (!viewOnly && wallet is PaynymInterface)
|
||||||
WalletNavigationBarItemData(
|
WalletNavigationBarItemData(
|
||||||
label: "PayNym",
|
label: "PayNym",
|
||||||
icon: const PaynymNavIcon(),
|
icon: const PaynymNavIcon(),
|
||||||
|
|
|
@ -286,7 +286,7 @@ class _MoreFeaturesDialogState extends ConsumerState<MoreFeaturesDialog> {
|
||||||
iconAsset: Assets.svg.coinControl.gamePad,
|
iconAsset: Assets.svg.coinControl.gamePad,
|
||||||
onPressed: () async => widget.onCoinControlPressed?.call(),
|
onPressed: () async => widget.onCoinControlPressed?.call(),
|
||||||
),
|
),
|
||||||
if (wallet is PaynymInterface)
|
if (!isViewOnly && wallet is PaynymInterface)
|
||||||
_MoreFeaturesItem(
|
_MoreFeaturesItem(
|
||||||
label: "PayNym",
|
label: "PayNym",
|
||||||
detail: "Increased address privacy using BIP47",
|
detail: "Increased address privacy using BIP47",
|
||||||
|
|
Loading…
Reference in a new issue