diff --git a/assets/js/app.js b/assets/js/app.js index cfbe96f..81cffd4 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -2119,7 +2119,20 @@ window._kioskUpdateResult = function(result) { function _kioskCheckForUpdates() { if (typeof _kioskBridge === 'undefined' || typeof _kioskBridge.checkForUpdates !== 'function') { - showToast('⚠️ Questa funzione richiede il kiosk nativo', 'warning'); + // Kiosk is present but old — direct user to manual download + const status = document.getElementById('kiosk-update-status'); + if (status) { + status.style.display = ''; + status.style.background = 'rgba(245,158,11,0.1)'; + status.style.border = '1px solid rgba(245,158,11,0.35)'; + status.innerHTML = `⚠️ Il kiosk installato è troppo vecchio per aggiornarsi automaticamente.
+ Installa manualmente la v1.7.0:
+ + 📥 Scarica evershelf-kiosk.apk + `; + } return; } const btn = document.getElementById('btn-kiosk-check-update');