mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
gamma: fix night mode on startup
This commit is contained in:
@@ -666,11 +666,7 @@ Singleton {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SessionData.nightModeAutoEnabled) {
|
evaluateNightMode();
|
||||||
startAutomation();
|
|
||||||
} else {
|
|
||||||
applyNightModeDirectly();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -680,7 +676,7 @@ Singleton {
|
|||||||
Timer {
|
Timer {
|
||||||
id: restartTimer
|
id: restartTimer
|
||||||
property string nextAction: ""
|
property string nextAction: ""
|
||||||
interval: 100
|
interval: 250
|
||||||
repeat: false
|
repeat: false
|
||||||
|
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
|||||||
Reference in New Issue
Block a user