config: move quote settings to clock widget subsection

This commit is contained in:
end-4
2025-11-05 10:23:20 +01:00
parent b3f81f350c
commit 64f6081b14
4 changed files with 13 additions and 11 deletions
@@ -406,18 +406,18 @@ ContentPage {
ConfigSwitch {
buttonIcon: "check"
text: Translation.tr("Enable")
checked: Config.options.background.showQuote
checked: Config.options.background.widgets.clock.quote.enable
onCheckedChanged: {
Config.options.background.showQuote = checked;
Config.options.background.widgets.clock.quote.enable = checked;
}
}
MaterialTextArea {
Layout.fillWidth: true
placeholderText: Translation.tr("Quote")
text: Config.options.background.quote
text: Config.options.background.widgets.clock.quote.text
wrapMode: TextEdit.Wrap
onTextChanged: {
Config.options.background.quote = text;
Config.options.background.widgets.clock.quote.text = text;
}
}
}