cookie clock: remove useless vars, adjust settings icons

This commit is contained in:
end-4
2025-10-11 18:14:57 +02:00
parent 1f5527164c
commit edc83764c4
5 changed files with 17 additions and 25 deletions
@@ -9,14 +9,14 @@ import QtQuick
Item {
id: root
property string style: "rotating"
property string style: "bubble"
property color color: Appearance.colors.colOnSecondaryContainer
property real dateSquareSize: 64
// Rotating date
FadeLoader {
anchors.fill: parent
shown: Config.options.background.clock.cookie.dateStyle === "rotating"
shown: Config.options.background.clock.cookie.dateStyle === "border"
sourceComponent: RotatingDate {
color: root.color
}
@@ -18,7 +18,7 @@ Item {
readonly property string dialStyle: Config.options.background.clock.cookie.dialNumberStyle
readonly property bool timeIndicators: Config.options.background.clock.cookie.timeIndicators
property real radius: style === "rotating" ? 90 : 0
property real radius: style === "border" ? 90 : 0
Behavior on radius {
animation: Appearance.animation.elementResize.numberAnimation.createObject(this)
}