mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-09 15:05:39 -05:00
Fix signal
This commit is contained in:
@@ -22,12 +22,8 @@ Singleton {
|
||||
|
||||
signal brightnessChanged()
|
||||
signal deviceSwitched()
|
||||
signal nightModeActiveChanged()
|
||||
|
||||
property bool nightModeActive: false
|
||||
onNightModeActiveChanged: {
|
||||
// Emit signal when property changes for UI reactivity
|
||||
}
|
||||
|
||||
function setBrightnessInternal(percentage, device) {
|
||||
const clampedValue = Math.max(1, Math.min(100, percentage));
|
||||
|
||||
Reference in New Issue
Block a user