diff options
| author | Adam Soltys <[email protected]> | 2026-06-25 17:36:31 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-25 17:36:31 -0700 |
| commit | c1f8b8e347a49376eddc98405bc02255fc7ee228 (patch) | |
| tree | b50d169b7244045981246991743c23a17c89b84c /src/app.js | |
| parent | fd620b95123e65f2c3289d703e2f9a269b734a4e (diff) | |
| download | coinosv3-c1f8b8e347a49376eddc98405bc02255fc7ee228.tar.gz coinosv3-c1f8b8e347a49376eddc98405bc02255fc7ee228.zip | |
Already-claimed: move 'Create a wallet anyway' above the explorer link
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1584,14 +1584,14 @@ function claimScreen() { h('div', { class: 'card col', style: 'align-items:center;text-align:center;gap:12px' }, h('div', { style: 'font-size:56px;line-height:1' }, '🎁'), h('h2', { style: 'margin:0' }, t('giftTakenTitle')), - h('p', { class: 'muted', style: 'margin:0' }, t('giftTakenBody')), - ui.claimTaken.txid - ? h('a', { class: 'btn btn-sm', href: wallet.api.explorerTx(ui.claimTaken.txid), target: '_blank', rel: 'noopener' }, t('viewOnMempool')) - : null + h('p', { class: 'muted', style: 'margin:0' }, t('giftTakenBody')) ), // A fresh wallet was already generated for the claim — offer to keep it, - // or head back to the home screen. + // view the claim on a block explorer, or head back to the home screen. h('button', { class: 'btn-primary btn-block', onClick: () => { ui.claimTaken = null; ui.claimedAmount = 0; ui.claimStep = 'backup'; commitAccount(); render(); } }, t('createWalletAnyway')), + ui.claimTaken.txid + ? h('a', { class: 'btn btn-block', href: wallet.api.explorerTx(ui.claimTaken.txid), target: '_blank', rel: 'noopener' }, t('viewOnMempool')) + : null, h('button', { class: 'btn-ghost btn-block', onClick: goHome }, t('goToHome')) ); } |
