diff options
| -rw-r--r-- | src/app.js | 10 | ||||
| -rw-r--r-- | src/i18n.js | 3 |
2 files changed, 13 insertions, 0 deletions
@@ -1573,6 +1573,16 @@ function advancedSettingsView() { : h('button', { onClick: () => { ui.addrScan = true; ui.addrScanPage = 0; render(); } }, t('rescanAddresses')) ), a ? autolockCard(a) : null, + // replay the first-run coach marks (the wizard itself only runs once) + h('div', { class: 'card col' }, + h('h3', {}, t('tourReplayTitle')), + h('p', { class: 'small muted', style: 'margin:0' }, t('tourReplayDesc')), + h('button', { onClick: () => { + ui.settingsPage = null; + ui.tab = 'receive'; + ui.tour = 0; + render(); + } }, t('tourReplay'))), h('button', { class: 'btn-ghost btn-block', onClick: () => { ui.settingsPage = null; render(); } }, t('back')) ); } diff --git a/src/i18n.js b/src/i18n.js index 9b34361..da75fcc 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -506,6 +506,9 @@ const STR = { tourBalance: 'Two balances: Spending is instant and free, Savings is on-chain. Tap to switch — everything follows.', tourTabs: 'Receive, send, and your history. Tip: swipe left and right to move between them.', tourNext: 'Next', + tourReplayTitle: 'Tour', + tourReplayDesc: 'A quick walk through the home screen — where your profile, balances, and tabs live.', + tourReplay: 'Take the tour', tourSkip: 'Skip', nlConnectApp: '📱 Connect a signer app', nlOpenSigner: 'Open signer app', |
