lock screen blur: fix center clock option, add settings app toggles

This commit is contained in:
end-4
2025-09-18 14:07:21 +02:00
parent 21303b24c8
commit f9d9df4bbf
3 changed files with 47 additions and 2 deletions
@@ -99,6 +99,48 @@ ContentPage {
}
}
ContentSection {
icon: "lock"
title: Translation.tr("Lock screen")
ContentSubsection {
title: Translation.tr("Blurred style")
ConfigSwitch {
font.pixelSize: Appearance.font.pixelSize.large
text: Translation.tr('Enable blur')
checked: Config.options.background.lockBlur.enable
onCheckedChanged: {
Config.options.background.lockBlur.enable = checked;
}
}
ConfigRow {
uniform: true
ConfigSwitch {
enabled: Config.options.background.lockBlur.enable
font.pixelSize: Appearance.font.pixelSize.large
text: Translation.tr('Center clock')
checked: Config.options.background.lockBlur.centerClock
onCheckedChanged: {
Config.options.background.lockBlur.centerClock = checked;
}
}
ConfigSwitch {
enabled: Config.options.background.lockBlur.enable
font.pixelSize: Appearance.font.pixelSize.large
text: Translation.tr('Show "Locked" text')
checked: Config.options.background.lockBlur.showLockedText
onCheckedChanged: {
Config.options.background.lockBlur.showLockedText = checked;
}
}
}
}
}
ContentSection {
icon: "side_navigation"
title: Translation.tr("Sidebars")