@@ -40,7 +40,7 @@ Item {
4040 property bool fullscreen: false
4141 property int maxHeight
4242 property int margins
43− property bool darkOnBright: panel.indicators.shown || type === Notification.SnapDecision
43+ readonly property bool darkOnBright: panel.indicators.shown || type === Notification.SnapDecision
4444 readonly property color red: "#fc4949"
4545 readonly property color green: "#3fb24f"
4646 readonly property color sdLightGrey: "#eaeaea"
@@ -51,7 +51,7 @@ Item {
5151 objectName: "background"
5252 implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height + contentSpacing * 2) : 0
5353
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)
5555 opacity: 1 // FIXME: 1 because of LP: #1354406 workaround, has to be 0 really
5656
5757 state: {
@@ -246,7 +246,7 @@ Item {
246246 left: parent.left
247247 right: parent.right
248248 }
249− visible: type != Notification.Confirmation
249+ visible: type !== Notification.Confirmation
250250 fontSize: "medium"
251251 color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText
252252 elide: Text.ElideRight
@@ -301,7 +301,7 @@ Item {
301301 ProgressBar {
302302 id: valueIndicator
303303 objectName: "valueIndicator"
304− visible: type == Notification.Confirmation
304+ visible: type === Notification.Confirmation
305305 minimumValue: 0.0
306306 maximumValue: 100.0
307307 height: units.gu(1)