Don't error out when no value for NightLightActive exists
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ function _build_theme_variants() {
|
||||
}
|
||||
|
||||
function _apply_theme_variant() {
|
||||
nightlight_active = proxy.get_cached_property('NightLightActive').get_boolean();
|
||||
nightlight_active = proxy.get_cached_property('NightLightActive').get_boolean() || false;
|
||||
_set_theme(nightlight_active ? user_theme_night : user_theme_day);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user