background: add option to only show clock when locked (#2387)

This commit is contained in:
end-4
2025-11-09 13:57:29 +01:00
parent 8b5a790d54
commit 14c115f80a
3 changed files with 15 additions and 4 deletions
@@ -97,6 +97,15 @@ ContentPage {
}
}
ConfigSwitch {
buttonIcon: "lock_clock"
text: Translation.tr("Show only when locked")
checked: Config.options.background.widgets.clock.showOnlyWhenLocked
onCheckedChanged: {
Config.options.background.widgets.clock.showOnlyWhenLocked = checked;
}
}
ContentSubsection {
title: Translation.tr("Clock style")
ConfigSelectionArray {