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:
@@ -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] : ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user