aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-04 07:43:13 -0700
committerAdam Soltys <[email protected]>2026-07-04 07:43:13 -0700
commitd8da74e50a374d59629b8ec8731e8cb38bc6b42e (patch)
tree69cee9e738b14a3f7529a35400dc60b763c689c6 /src
parenta28302eee33dab5f0829ff6310242beb0a744ef7 (diff)
downloadcoinosv3-d8da74e50a374d59629b8ec8731e8cb38bc6b42e.tar.gz
coinosv3-d8da74e50a374d59629b8ec8731e8cb38bc6b42e.zip
Ark: 'Sent!' screen matches the receive celebration
Tap anywhere to proceed instead of a Done button, and the sent amount shows in red (amount-neg) rather than green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QFAcD4V284DvYZZHP7Rxxy
Diffstat (limited to 'src')
-rw-r--r--src/app.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/app.js b/src/app.js
index efb0bc4..e024e06 100644
--- a/src/app.js
+++ b/src/app.js
@@ -3577,11 +3577,15 @@ function arkSendReview() {
if (ui.arkSent) {
return h(
'div',
- { class: 'card col', style: 'align-items:center;text-align:center;gap:14px;padding:40px 20px' },
+ {
+ class: 'card col',
+ style: 'align-items:center;text-align:center;gap:14px;cursor:pointer;padding:48px 20px',
+ onClick: () => { ui.arkSent = null; ui.send = blankSend(); render(); },
+ },
h('div', { class: 'check-badge' }, '✓'),
h('h2', { style: 'margin:0' }, t('arkSentTitle')),
- h('div', { class: 'amount-pos', style: 'font-size:18px' }, '-' + fmtAmount(ui.arkSent.amountSat) + ' ' + unitLabel()),
- h('button', { class: 'btn-primary btn-block', onClick: () => { ui.arkSent = null; ui.send = blankSend(); render(); } }, t('done'))
+ h('div', { class: 'amount-neg', style: 'font-size:18px' }, '-' + fmtAmount(ui.arkSent.amountSat) + ' ' + unitLabel()),
+ h('div', { class: 'small muted' }, t('tapToProceed'))
);
}
const a = ui.arkSend;