diff --git a/Commons/Settings.qml b/Commons/Settings.qml index 03d657a..50c7913 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -261,7 +261,7 @@ Singleton { // night light property JsonObject nightLight: JsonObject { property bool enabled: false - property real warmth: 0.0 + property real warmth: 0.1 property real intensity: 0.8 property string startTime: "20:00" property string stopTime: "07:00" diff --git a/Services/NightLightService.qml b/Services/NightLightService.qml index 0c781fe..780b205 100644 --- a/Services/NightLightService.qml +++ b/Services/NightLightService.qml @@ -20,7 +20,7 @@ Singleton { // Computed properties property color overlayColor: enabled ? calculateOverlayColor() : "transparent" - property bool isActive: enabled && (autoSchedule ? isWithinSchedule() : true) + property bool isActive: enabled && warmth > 0 && (autoSchedule ? isWithinSchedule() : true) Component.onCompleted: { Logger.log("NightLight", "Service started")