fix dark mode scheduling logic

This commit is contained in:
2026-03-26 18:37:30 +01:00
parent ad563d72f5
commit d752d70526
+1 -1
View File
@@ -40,7 +40,7 @@ Singleton {
}
function checkStartup() {
if (darkStart === darkEnd)
if (!root.enabled)
return;
var now = new Date();
if (now.getHours() >= darkStart || now.getHours() < darkEnd) {