Restore icon colors

This commit is contained in:
miruka
2019-08-28 18:21:13 -04:00
parent 4bee87ed5d
commit 6cda69ad67
9 changed files with 27 additions and 3 deletions

View File

@@ -73,6 +73,7 @@ Rectangle {
id: button
text: modelData.text
icon.name: modelData.iconName
icon.color: modelData.iconColor || theme.icons.colorize
onClicked: buttonCallbacks[modelData.name](button)
Layout.preferredHeight: theme.baseElementsHeight

View File

@@ -22,11 +22,13 @@ Banner {
name: "accept",
text: qsTr("Join"),
iconName: "invite-accept",
iconColor: theme.colors.positiveBackground
},
{
name: "decline",
text: qsTr("Decline"),
iconName: "invite-decline",
iconColor: theme.colors.negativeBackground
}
]

View File

@@ -15,6 +15,7 @@ Banner {
name: "forget",
text: qsTr("Forget"),
iconName: "room-forget",
iconColor: theme.colors.negativeBackground
}
]