feat(apk): coche sur la facon d'ouvrir en place + journal du mode detecte

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-09-17 15:02:16 +01:00
parent 030df48559
commit d6bf06b6a7
2 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -1657,7 +1657,10 @@ var unlockMode = 'none', canDeviceLock = false, hasContainer = false;
function syncUnlockUi() {
['device', 'code', 'password'].forEach(function (m) {
var id = { device: 'sModeDevice', code: 'sModeCode', password: 'sModePwd' }[m];
document.getElementById(id).classList.toggle('main', unlockMode === m);
var b = document.getElementById(id), on = unlockMode === m;
if (!b.dataset.label) b.dataset.label = b.textContent;
b.textContent = (on ? String.fromCharCode(0x2713) + ' ' : '') + b.dataset.label;
b.classList.toggle('main', on);
});
document.getElementById('sModeDevice').style.opacity = canDeviceLock ? 1 : .4;
document.getElementById('sModeNote').textContent =