💥 fix(scripts/wallpaper): also check for 1 value on splash property
This commit is contained in:
@@ -68,7 +68,7 @@ class Wallpaper extends GObject.Object {
|
|||||||
|
|
||||||
switch(key) {
|
switch(key) {
|
||||||
case "splash":
|
case "splash":
|
||||||
this.splash = /(yes|true|on|enable|enabled)/.test(value) ? true : false;
|
this.splash = (/(yes|true|on|enable|enabled|1).*/.test(value)) ? true : false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "wallpaper":
|
case "wallpaper":
|
||||||
|
|||||||
Reference in New Issue
Block a user