diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.js | 9 | ||||
| -rw-r--r-- | src/i18n.js | 2 |
2 files changed, 11 insertions, 0 deletions
@@ -2573,6 +2573,15 @@ function accountsScreen() { })) ), h('button', { class: 'btn-block', onClick: () => { ui.addWallet = { kind: 'spending', from: 'new' }; render(); } }, t('addWallet')), + // Sign into a DIFFERENT identity (Nostr signer, passkey, Google) without + // logging out: the unlock screen carries the sign-in doors, and enterWallet + // ADDS the account alongside the current ones (fromWallet keeps them + a + // Back). Switching between them afterwards is just tapping a row above. + h('div', { class: 'col', style: 'gap:4px' }, + h('button', { class: 'btn-ghost btn-block', onClick: () => { + ui.fromWallet = true; ui.unlockError = ''; ui.unlockTab = 'import'; ui.screen = 'unlock'; render(); + } }, t('signInAnother')), + h('div', { class: 'small faint', style: 'padding:0 2px' }, t('signInAnotherNote'))), hasVault() ? h('button', { class: 'btn-ghost btn-block', onClick: startChangePw }, t('changePassword')) : null, h('button', { class: 'btn-ghost btn-block', onClick: () => { ui.confirmClear = true; render(); } }, t('clearAll')) ), diff --git a/src/i18n.js b/src/i18n.js index 5b8cab6..2177385 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -43,6 +43,8 @@ const STR = { lockWallet: 'Lock wallet', accounts: 'Accounts', addWallet: 'Add account', + signInAnother: 'Sign into another account', + signInAnotherNote: 'Add a different identity (Nostr, passkey or Google) without signing out — switch between them here anytime.', clearAll: 'Delete all', logoutForget: 'Logout & forget all data', entropyToggle: 'Entropy', |
