From dec8bb600852f1df2a0fff3fd28fcfcb568e3013 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 27 Jun 2026 12:04:00 -0700 Subject: Make the wallet-settings link a card with a clear button, not a bare heading Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 6 +++++- src/i18n.js | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index da91797..69fde4d 100644 --- a/src/app.js +++ b/src/app.js @@ -1262,7 +1262,11 @@ function settingsTab() { { class: 'col', style: 'gap:16px' }, // Quick link to the active wallet's own settings (name, seed, pubkey, auto-logout). activeAccount() - ? h('button', { class: 'btn-block', onClick: () => openAccountSettings(activeId) }, '⚙ ' + t('walletSettings')) + ? h('div', { class: 'card col' }, + h('h3', {}, activeAccount().label), + h('p', { class: 'small muted', style: 'margin:0' }, t('walletSettingsDesc')), + h('button', { class: 'btn-primary btn-block', onClick: () => openAccountSettings(activeId) }, '⚙ ' + t('walletSettings')) + ) : null, // Recovery phrase + public key live on each wallet's own settings page now // (Accounts → ⚙). Watch-only wallets can still add their seed here. diff --git a/src/i18n.js b/src/i18n.js index 2e2e4e7..376837d 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -283,6 +283,7 @@ const STR = { explorerUrlHint: 'Esplora / electrs REST base, e.g. https://mempool.space/api', walletName: 'Wallet name', walletSettings: 'Wallet settings', + walletSettingsDesc: 'Name, recovery phrase, public key, and auto-logout for this wallet.', autolockTitle: 'Log out automatically', autolockDesc: "After the app has been in the background this long, log this wallet out — it's removed from this device (including from Save to device), so keep its recovery phrase. Other wallets aren't affected. The timer never runs while the app is open and focused.", autolockNever: 'Never', -- cgit v1.2.3