Fix missing check
This commit is contained in:
@@ -178,7 +178,9 @@ var Nightlighter = class {
|
||||
}
|
||||
|
||||
_get_nightlight_active() {
|
||||
return this.dbus_proxy.NightLightActive
|
||||
if ( this.dbus_proxy ) {
|
||||
return this.dbus_proxy.NightLightActive;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user