1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Enchance nightMode toggle indicators

This commit is contained in:
purian23
2025-08-29 23:53:38 -04:00
parent bd39a92d16
commit e693857c39
2 changed files with 16 additions and 1 deletions

View File

@@ -667,6 +667,9 @@ Item {
checked: SessionData.nightModeAutoEnabled
onToggled: (checked) => {
SessionData.setNightModeAutoEnabled(checked);
if (checked && !DisplayService.nightModeEnabled) {
DisplayService.toggleNightMode();
}
}
Connections {