diff --git a/static/js/core/settings-manager.js b/static/js/core/settings-manager.js index 777be7e..13c05f4 100644 --- a/static/js/core/settings-manager.js +++ b/static/js/core/settings-manager.js @@ -705,10 +705,9 @@ const Settings = { themeSelect.value = localStorage.getItem('intercept-theme') || 'dark'; } - // Animations toggle - const animationsEnabled = document.getElementById('animationsEnabled'); - if (animationsEnabled) { - animationsEnabled.checked = localStorage.getItem('intercept-animations') !== 'off'; + const uiTierSelect = document.getElementById('uiTierSelect'); + if (uiTierSelect) { + uiTierSelect.value = localStorage.getItem('intercept-ui-tier') || 'enhanced'; } }, @@ -1486,15 +1485,11 @@ function setThemePreference(value) { } /** - * Set animations preference from the Display settings tab + * Set UI tier preference from the Display settings tab */ -function setAnimationsEnabled(enabled) { - if (enabled) { - document.documentElement.removeAttribute('data-animations'); - } else { - document.documentElement.setAttribute('data-animations', 'off'); - } - localStorage.setItem('intercept-animations', enabled ? 'on' : 'off'); +function setUiTierPreference(tier) { + document.documentElement.setAttribute('data-ui-tier', tier); + localStorage.setItem('intercept-ui-tier', tier); } if (!window._settingsEscapeHandlerBound) { diff --git a/templates/partials/settings-modal.html b/templates/partials/settings-modal.html index 759daed..d3f074b 100644 --- a/templates/partials/settings-modal.html +++ b/templates/partials/settings-modal.html @@ -218,13 +218,13 @@
- Animations - Enable visual effects and animations + Display Mode + Lean — no effects (Pi / older hardware) · Enhanced — amber military console
- +