feat(sync): QR des reglages sur le PC, Paste settings sur le telephone
Le poste genere le QR (DelphiZXingQRCode, Apache 2.0) depuis ses prefs : URL + jeton, jamais le mot de passe de synchro. Le telephone lit le texte copie par l'appareil photo et remplit les champs ; Save valide. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -8191,6 +8191,8 @@ async function init() {
|
||||
Bridge.setPref(SYNC_PREFS.preBackup, e.target.checked ? '1' : ''));
|
||||
if (syncSetPwd) syncSetPwd.addEventListener('click', syncSetEncPwdFlow);
|
||||
if (syncTest) syncTest.addEventListener('click', syncTestConnection);
|
||||
const syncQr = document.getElementById('syncQrBtn');
|
||||
if (syncQr) syncQr.addEventListener('click', syncQrToggle);
|
||||
// Guard the user entry point: ignore clicks while a sync is running (no
|
||||
// concurrent syncs) and call runSyncNow() with NO arg — the click event
|
||||
// must not land in its `_attempt` retry counter. Internal retries call
|
||||
|
||||
Reference in New Issue
Block a user