@@ -40,7 +40,7 @@ Item {
40 property bool fullscreen: false
40 property bool fullscreen: false
41 property int maxHeight
41 property int maxHeight
42 property int margins
42 property int margins
43− property bool darkOnBright: panel.indicators.shown || type === Notification.SnapDecision
43+ readonly property bool darkOnBright: panel.indicators.shown || type === Notification.SnapDecision
44 readonly property color red: "#fc4949"
44 readonly property color red: "#fc4949"
45 readonly property color green: "#3fb24f"
45 readonly property color green: "#3fb24f"
46 readonly property color sdLightGrey: "#eaeaea"
46 readonly property color sdLightGrey: "#eaeaea"
@@ -51,7 +51,7 @@ Item {
51 objectName: "background"
51 objectName: "background"
52 implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height + contentSpacing * 2) : 0
52 implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height + contentSpacing * 2) : 0
54− color: (type == Notification.Confirmation && notificationList.useModal && !greeter.shown) || darkOnBright ? sdLightGrey : Qt.rgba(0.132, 0.117, 0.109, 0.97)
54+ color: (type === Notification.Confirmation && notificationList.useModal && !greeter.shown) || darkOnBright ? sdLightGrey : Qt.rgba(0.132, 0.117, 0.109, 0.97)
55 opacity: 1 // FIXME: 1 because of LP: #1354406 workaround, has to be 0 really
55 opacity: 1 // FIXME: 1 because of LP: #1354406 workaround, has to be 0 really
@@ -246,7 +246,7 @@ Item {
246 left: parent.left
246 left: parent.left
247 right: parent.right
247 right: parent.right
249− visible: type != Notification.Confirmation
249+ visible: type !== Notification.Confirmation
250 fontSize: "medium"
250 fontSize: "medium"
251 color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText
251 color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText
252 elide: Text.ElideRight
252 elide: Text.ElideRight
@@ -301,7 +301,7 @@ Item {
301 ProgressBar {
301 ProgressBar {
302 id: valueIndicator
302 id: valueIndicator
303 objectName: "valueIndicator"
303 objectName: "valueIndicator"
304− visible: type == Notification.Confirmation
304+ visible: type === Notification.Confirmation
305 minimumValue: 0.0
305 minimumValue: 0.0
306 maximumValue: 100.0
306 maximumValue: 100.0
307 height: units.gu(1)
307 height: units.gu(1)