fix dark mode scheduling

This commit is contained in:
2026-03-26 14:14:40 +01:00
parent 408e535867
commit 6f28c40d68
+2
View File
@@ -62,8 +62,10 @@ Singleton {
return;
var now = new Date();
if (now.getHours() >= root.darkStart || now.getHours() < root.darkEnd) {
if (DynamicColors.light)
root.applyDarkMode();
} else {
if (!DynamicColors.light)
root.applyLightMode();
}
}