make spark names visible again without going into "more"
What changed, and why it matters
This commit is a minor user-interface tweak. It moves the 'Names' button for Spark wallets out of a hidden 'more' menu and into the main visible navigation bar. There is no security change.
No security action needed. Treat as routine UI/UX change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff in lib/pages/wallet_view/wallet_view.dart relocates one WalletNavigationBarItemData entry labeled ‘Names’ from the moreItems list into the primary items list. A second Spark-related item (‘Show Spark View Key’) remains in moreItems. No logic, permissions, cryptography, or data handling is modified.
Changed components
lib/pages/wallet_view/wallet_view.dartInspect captured patch +2 / −2
diff --git a/lib/pages/wallet_view/wallet_view.dart b/lib/pages/wallet_view/wallet_view.dart
index a6fd191..0e2bd23 100644
--- a/lib/pages/wallet_view/wallet_view.dart
+++ b/lib/pages/wallet_view/wallet_view.dart
@@ -1104,8 +1104,6 @@ class _WalletViewState extends ConsumerState<WalletView> {
icon: const BuyNavIcon(),
onTap: () => _onBuyPressed(context),
),
- ],
- moreItems: <WalletNavigationBarItemData>[
if (wallet is SparkInterface)
WalletNavigationBarItemData(
label: "Names",
@@ -1117,6 +1115,8 @@ class _WalletViewState extends ConsumerState<WalletView> {
);
},
),
+ ],
+ moreItems: <WalletNavigationBarItemData>[
if (wallet is SparkInterface)
WalletNavigationBarItemData(
label: "Show Spark View Key",
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.