change the place of the showQuote

This commit is contained in:
darksignal7
2025-10-05 21:40:56 +03:00
parent 94fb563a15
commit 5af0fe35df
@@ -12,24 +12,15 @@ 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"
@@ -337,6 +328,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")