From 231e3f98ae6fecc8d0980b193d77ef31de5f2695 Mon Sep 17 00:00:00 2001 From: r-zakarya <82443831+r-zakarya@users.noreply.github.com> Date: Thu, 17 Sep 2026 16:14:31 +0100 Subject: [PATCH] feat(apk): bouton Save dans les reglages, fermer n'enregistre plus Co-Authored-By: Claude Opus 5 --- android-client/web/app.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/android-client/web/app.html b/android-client/web/app.html index a6d5c09..f1112fc 100644 --- a/android-client/web/app.html +++ b/android-client/web/app.html @@ -575,6 +575,7 @@ type="password" autocomplete="off">
×
+
The sync password never leaves this device. It is what encrypts the copy kept in the repository, so it must be the same on every device that shares it; the token only opens the repository. It is not the @@ -1618,13 +1619,18 @@ function openSettings() { send('state?view=settings'); } -function closeSettings() { - // Ce qui a ete tape ici redescend vers Delphi avant de fermer, sinon un - // reglage modifie puis referme sans quitter le champ serait perdu. +// ENREGISTRER EST UN GESTE, FERMER N'ENREGISTRE RIEN. Fermer enregistrait : +// une URL effacee par erreur partait avec le retour, sans moyen de revenir. +// Desormais retour = annuler, et la page repart des valeurs enregistrees. +document.getElementById('sSave').addEventListener('click', function () { elUrl.value = document.getElementById('sUrl').value.trim(); elTok.value = document.getElementById('sTok').value.trim(); elPwd.value = document.getElementById('sPwd').value; pushConfig(); + toast('Saved'); +}); + +function closeSettings() { document.body.classList.remove('on-settings'); send('state?view=' + view); }