forked from Shinonome/dots-hyprland
fix console warnings for osds
This commit is contained in:
@@ -29,7 +29,7 @@ Scope {
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Brightness
|
||||
target: Brightness ?? null
|
||||
function onValueChanged() {
|
||||
if (!Brightness.ready) return
|
||||
root.triggerOsd()
|
||||
@@ -37,7 +37,7 @@ Scope {
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Audio.sink?.audio
|
||||
target: Audio.sink?.audio ?? null
|
||||
function onVolumeChanged() {
|
||||
if (!Audio.ready) return
|
||||
root.showOsdValues = false
|
||||
|
||||
Reference in New Issue
Block a user