Commit 08213d07 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Don't completely hide the install button when un/installing

Just disable it, it looks less like something went wrong.

BUG: 391365
parent 0fc4f036
......@@ -22,9 +22,9 @@ ConditionalLoader
text: root.text
icon {
name: application.isInstalled ? "trash-empty" : "cloud-download"
color: application.isInstalled ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.positiveTextColor
color: !listener.isActive ? (application.isInstalled ? Kirigami.Theme.negativeTextColor : Kirigami.Theme.positiveTextColor) : Kirigami.Theme.backgroundColor
}
visible: !listener.isActive
enabled: !listener.isActive
onTriggered: root.click()
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment