This commit is contained in:
end-4
2025-10-05 20:47:26 +02:00
@@ -12,25 +12,16 @@ ContentPage {
icon: "wallpaper" icon: "wallpaper"
title: Translation.tr("Background") title: Translation.tr("Background")
ConfigRow { ConfigSwitch {
ConfigSwitch { buttonIcon: "nest_clock_farsight_analog"
buttonIcon: "nest_clock_farsight_analog" text: Translation.tr("Show clock")
text: Translation.tr("Show clock") checked: Config.options.background.clock.show
checked: Config.options.background.clock.show onCheckedChanged: {
onCheckedChanged: { Config.options.background.clock.show = checked;
Config.options.background.clock.show = checked;
}
}
ConfigSwitch {
buttonIcon: "format_quote"
text: Translation.tr("Show quote")
checked: Config.options.background.showQuote
onCheckedChanged: {
Config.options.background.showQuote = checked;
}
} }
} }
ConfigSpinBox { ConfigSpinBox {
icon: "loupe" icon: "loupe"
text: Translation.tr("Scale (%)") text: Translation.tr("Scale (%)")
@@ -113,7 +104,6 @@ ContentPage {
ContentSubsection { ContentSubsection {
visible: Config.options.background.clock.style === "cookie" visible: Config.options.background.clock.style === "cookie"
title: Translation.tr("Hour hand style") title: Translation.tr("Hour hand style")
ConfigSelectionArray { ConfigSelectionArray {
currentValue: Config.options.background.clock.cookie.hourHandStyle currentValue: Config.options.background.clock.cookie.hourHandStyle
onSelected: newValue => { onSelected: newValue => {
@@ -327,6 +317,14 @@ ContentPage {
ContentSubsection { ContentSubsection {
title: Translation.tr("Quote settings") title: Translation.tr("Quote settings")
ConfigSwitch {
buttonIcon: "format_quote"
text: Translation.tr("Show quote")
checked: Config.options.background.showQuote
onCheckedChanged: {
Config.options.background.showQuote = checked;
}
}
MaterialTextArea { MaterialTextArea {
Layout.fillWidth: true Layout.fillWidth: true
placeholderText: Translation.tr("Quote") placeholderText: Translation.tr("Quote")