fix dark mode scheduling logic
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user