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 { Label {
Layout.fillWidth: true Layout.fillWidth: true
text: model.name text: model.name
color: listItem.pressed ? listItem.activeTextColor : listItem.textColor
elide: Text.ElideRight elide: Text.ElideRight
} }
Label { Label {
Layout.fillWidth: true Layout.fillWidth: true
text: model.description text: model.description
color: listItem.pressed ? listItem.activeTextColor : listItem.textColor
elide: Text.ElideRight elide: Text.ElideRight
font: Kirigami.Theme.smallFont font: Kirigami.Theme.smallFont
opacity: 0.7 opacity: 0.7