Fix missing check

This commit is contained in:
Romain Vigier
2020-04-12 20:12:16 +02:00
parent a258e4cfac
commit 83eb667e00
+3 -1
View File
@@ -178,7 +178,9 @@ var Nightlighter = class {
}
_get_nightlight_active() {
return this.dbus_proxy.NightLightActive
if ( this.dbus_proxy ) {
return this.dbus_proxy.NightLightActive;
}
}
}