Fix text in sleep dialog disregarding theming

This commit is contained in:
Devin Lin 2022-11-26 01:14:17 -05:00
parent 7adaa8528c
commit cbd203272e
1 changed files with 2 additions and 2 deletions

View File

@ -49,11 +49,11 @@ Kirigami.Dialog {
ColumnLayout { ColumnLayout {
id: content id: content
Text { Controls.Label {
text: (timerActive) ? i18n("Status: Active") : i18n("Status: Inactive") text: (timerActive) ? i18n("Status: Active") : i18n("Status: Inactive")
} }
Text { Controls.Label {
opacity: (timerActive) ? 1 : 0.5 opacity: (timerActive) ? 1 : 0.5
Layout.bottomMargin: Kirigami.Units.largeSpacing Layout.bottomMargin: Kirigami.Units.largeSpacing
text: i18n("Remaining Time: %1", AudioManager.formattedRemainingSleepTime) text: i18n("Remaining Time: %1", AudioManager.formattedRemainingSleepTime)