aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 13:40:38 -0700
committerAdam Soltys <[email protected]>2026-10-07 13:40:38 -0700
commit20c9a87850f034071990067ed0dc042503e6deaf (patch)
tree9fa4cf46de3a47bed185a5c79f91b11bfd3b50ed /src
parentf21ebec84d3207ed7eab7d712315adc8ab706708 (diff)
downloadcoinosv3-20c9a87850f034071990067ed0dc042503e6deaf.tar.gz
coinosv3-20c9a87850f034071990067ed0dc042503e6deaf.zip
Wizard cover: an upload icon (arrow out of a tray) instead of the camera emoji
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 28414d6..9c227b8 100644
--- a/src/app.js
+++ b/src/app.js
@@ -3890,7 +3890,8 @@ function onboardScreen() {
h('button', { type: 'button', class: 'onb-cover-nav next', 'aria-label': t('onbCoverNext'), onClick: () => step(1) }, '›'),
h('span', { class: 'onb-cover-count' }, coverN ? `${coverN} / ${COVER_COUNT}` : t('onbCoverYours')),
h('button', { type: 'button', class: 'onb-cover-upload', disabled: ui.onbBusy, 'aria-label': t('onbCoverUpload'), title: t('onbCoverUpload'),
- onClick: () => document.getElementById('onb-cover-file')?.click() }, '📷'),
+ onClick: () => document.getElementById('onb-cover-file')?.click(),
+ html: '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" style="display:block"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="M17 8l-5-5-5 5"/><path d="M12 3v12"/></svg>' }),
h('input', { type: 'file', id: 'onb-cover-file', accept: 'image/*', style: 'display:none', onChange: async (e) => {
const f = e.target.files && e.target.files[0];
if (!f) return;