1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42:50 -05:00

Updates to Night Mode Automation

This commit is contained in:
purian23
2025-08-28 23:16:53 -04:00
parent 324d6c13b4
commit 9d8b196644
2 changed files with 48 additions and 353 deletions

View File

@@ -661,7 +661,7 @@ Item {
DankToggle {
width: parent.width
text: "Night Mode Automation"
description: "Automatically enable/disable night mode based on time schedule or location. Works independently of manual toggle above."
description: "Automatically enable/disable night mode based on time or location, independent of the manual toggle."
checked: SessionData.nightModeAutoEnabled
onToggled: (checked) => {
SessionData.setNightModeAutoEnabled(checked);
@@ -670,7 +670,7 @@ Item {
Column {
width: parent.width
spacing: Theme.spacingS
spacing: Theme.spacingM
visible: SessionData.nightModeAutoEnabled
leftPadding: Theme.spacingM
@@ -701,19 +701,11 @@ Item {
}
StyledText {
text: "Press Enter or click away to save time changes. Border turns green when valid (HH:MM format)."
font.pixelSize: Theme.fontSizeSmall
color: Theme.primary
visible: SessionData.nightModeAutoMode === "time"
width: parent.width - parent.leftPadding
wrapMode: Text.WordWrap
}
Row {
spacing: Theme.spacingM
visible: SessionData.nightModeAutoMode === "time"
width: parent.width - parent.leftPadding
topPadding: Theme.spacingL
StyledText {
text: "Start:"
@@ -820,13 +812,6 @@ Item {
wrapMode: Text.WordWrap
}
StyledText {
text: "Press Enter or click away to save changes. Border turns green when valid."
font.pixelSize: Theme.fontSizeSmall
color: Theme.primary
width: parent.width
wrapMode: Text.WordWrap
}
}
Row {
@@ -957,6 +942,7 @@ Item {
}
}
DankToggle {