diff options
| author | Adam Soltys <[email protected]> | 2026-07-04 08:02:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-04 08:02:14 -0700 |
| commit | cbbf90ed86c29f2c7c61b216be5e51946adaef52 (patch) | |
| tree | 6a6ea879f079ae0ec6eb770e3f839cc1d3cfc261 /src/app.js | |
| parent | 2da22a3dc82bc8c0beb456097c2749ebc02d8017 (diff) | |
| download | coinosv3-cbbf90ed86c29f2c7c61b216be5e51946adaef52.tar.gz coinosv3-cbbf90ed86c29f2c7c61b216be5e51946adaef52.zip | |
Gift claim: correct copy when claiming into an existing wallet
"Claim it into a brand-new wallet that only you control." only fits the
new-wallet path; claiming into an existing wallet now says which wallet
it lands in ("Claim it into your wallet "Wallet 1".").
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QFAcD4V284DvYZZHP7Rxxy
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2438,7 +2438,9 @@ function claimScreen() { h('div', { class: 'amt', style: 'font-size:30px' }, h('span', { class: 'amount-pos' }, fmtAmount(total)), ' ', unitTag('unit') ), - h('p', { class: 'muted', style: 'margin:0' }, t('claimBody')) + h('p', { class: 'muted', style: 'margin:0' }, + (() => { const acc = activeAccount(); // claiming into an existing wallet vs a brand-new one + return acc && !acc.provisional ? t('claimBodyExisting', { name: acc.label }) : t('claimBody'); })()) ), ui.claimError && h('div', { class: 'notice err' }, ui.claimError), ui.busy || ui.claimChecking |
