Commit 7a69695f authored by Erik Reider's avatar Erik Reider

Set default notification image visibility to "when-available". Fixes #70

parent f9b75f4f
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"control-center-height": 600, "control-center-height": 600,
"notification-window-width": 500, "notification-window-width": 500,
"keyboard-shortcuts": true, "keyboard-shortcuts": true,
"image-visibility": "always", "image-visibility": "when-available",
"transition-time": 200, "transition-time": 200,
"hide-on-clear": false, "hide-on-clear": false,
"hide-on-action": true, "hide-on-action": true,
......
...@@ -337,7 +337,7 @@ namespace SwayNotificationCenter { ...@@ -337,7 +337,7 @@ namespace SwayNotificationCenter {
public ImageVisibility image_visibility { public ImageVisibility image_visibility {
get; get;
set; set;
default = ImageVisibility.ALWAYS; default = ImageVisibility.WHEN_AVAILABLE;
} }
/** /**
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
"image-visibility": { "image-visibility": {
"type": "string", "type": "string",
"description": "An explanation about the purpose of this instance.", "description": "An explanation about the purpose of this instance.",
"default": "always", "default": "when-available",
"enum": ["always", "when-available", "never"] "enum": ["always", "when-available", "never"]
}, },
"transition-time": { "transition-time": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment