fix: idle splash exit animation works

This commit is contained in:
frozenKelp
2026-06-09 19:43:02 +05:30
parent 26cb16ec0f
commit 22c4a222d8
-2
View File
@@ -177,8 +177,6 @@
function resetIdleTimer() {
if (idleTimer) { clearTimeout(idleTimer); idleTimer = null }
if (appState.idleSplash) appState.idleSplash = false
// read the setting live so changes take effect without a restart
// 0 means "Never" — skip the timer entirely
const mins = settingsState.settings.idleTimeoutMin ?? 5
if (mins === 0) return