Commit 3e22b962 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

quicksettings: Fix enabled text always displaying "On"

parent 76a92aee
Pipeline #178856 passed with stage
in 1 minute and 19 seconds
......@@ -78,7 +78,7 @@ QuickSettingsDelegate {
Components.MarqueeLabel {
// if no status is given, just use On/Off
inputText: status ? status : (enabled ? i18n("On") : i18n("Off"))
inputText: root.status ? root.status : (root.enabled ? i18n("On") : i18n("Off"))
opacity: 0.6
Layout.fillWidth: true
......
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