aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 53cb35b..486fa5b 100644
--- a/src/app.js
+++ b/src/app.js
@@ -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