aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-21 12:23:52 -0700
committerAdam Soltys <[email protected]>2026-09-21 12:23:52 -0700
commit4b1c6ff6dfd30576589dadd45549207160f8f615 (patch)
tree570d6ae633fc9e3570100028733f69ea2d1ed307
parentd99cfb148bf275dc3f29c16925efac715a60cf6a (diff)
downloadcoinosv3-4b1c6ff6dfd30576589dadd45549207160f8f615.tar.gz
coinosv3-4b1c6ff6dfd30576589dadd45549207160f8f615.zip
Words screen: no Regenerate button.
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
-rw-r--r--src/app.js19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/app.js b/src/app.js
index b7e68a6..9648b4b 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1104,24 +1104,7 @@ function createPane() {
h('div', { class: 'w' }, h('span', { class: 'n' }, i + 1), h('span', { class: 't' }, w))
)
),
- h(
- 'div',
- { class: 'row gap6' },
- copyBtn(ui.draftMnemonic, t('copyPhrase')),
- // With own entropy the phrase is a pure function of the text —
- // "Regenerate" would hand back the identical words, so it hides.
- (ui.ownEntropy || '').trim() ? null : h(
- 'button',
- {
- class: 'btn-ghost btn-sm',
- onClick: () => {
- ui.draftRandom = ui.draftMnemonic = newMnemonic();
- render();
- },
- },
- t('regenerate')
- )
- ),
+ h('div', { class: 'row gap6' }, copyBtn(ui.draftMnemonic, t('copyPhrase'))),
optionsPanel(),
h(
'button',