diff options
| author | Adam Soltys <[email protected]> | 2026-06-27 12:04:00 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-27 12:04:00 -0700 |
| commit | dec8bb600852f1df2a0fff3fd28fcfcb568e3013 (patch) | |
| tree | c8d6d8fdb8aab7a652a2226169414eb6d40c7629 /src | |
| parent | 6bb2de48cdc15a0bc41fbcf4b0e97d6ab0d948b4 (diff) | |
| download | coinosv3-dec8bb600852f1df2a0fff3fd28fcfcb568e3013.tar.gz coinosv3-dec8bb600852f1df2a0fff3fd28fcfcb568e3013.zip | |
Make the wallet-settings link a card with a clear button, not a bare heading
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.js | 6 | ||||
| -rw-r--r-- | src/i18n.js | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -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', |
