1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

fix(lockscreen): clock off-center with single hour digit (#2745)

This commit is contained in:
Scott McKendry
2026-07-05 07:18:34 +12:00
committed by GitHub
parent 65c4167ab2
commit bfda5f2d66
@@ -358,7 +358,7 @@ Item {
property bool hasSeconds: timeParts.length > 2 property bool hasSeconds: timeParts.length > 2
ClockDigitText { ClockDigitText {
width: 75 width: clockText.hours.length > 1 ? 75 : 0
text: clockText.hours.length > 1 ? clockText.hours[0] : "" text: clockText.hours.length > 1 ? clockText.hours[0] : ""
} }