Change m.notice background color.

This commit is contained in:
Black Hat
2018-09-06 21:00:58 +08:00
parent 96874cba06
commit a189927b67
2 changed files with 12 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import Matrique.Settings 0.1
RowLayout {
readonly property bool avatarVisible: !(sentByMe || (aboveAuthor === author && section === aboveSection))
readonly property bool highlighted: !sentByMe
readonly property bool highlighted: !(sentByMe || eventType === "notice" )
readonly property bool sentByMe: author === currentRoom.localUser
readonly property bool isText: eventType === "notice" || eventType === "message"
@@ -47,7 +47,7 @@ RowLayout {
id: genericBubble
highlighted: !sentByMe
highlighted: messageRow.highlighted
colored: highlighted && (eventType === "notice" || highlight)
contentItem: ColumnLayout {