Fix text color in Plugin Settings

Remove references to nonexistent "listItem" for getting color
This commit is contained in:
Bharadwaj Raju 2021-05-11 09:53:43 +05:30
parent 148426ab48
commit 036704e161

View file

@ -41,14 +41,12 @@ Kirigami.ScrollablePage
Label {
Layout.fillWidth: true
text: model.name
color: listItem.pressed ? listItem.activeTextColor : listItem.textColor
elide: Text.ElideRight
}
Label {
Layout.fillWidth: true
text: model.description
color: listItem.pressed ? listItem.activeTextColor : listItem.textColor
elide: Text.ElideRight
font: Kirigami.Theme.smallFont
opacity: 0.7