1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

lock/greetd: fix 12-hour time

This commit is contained in:
bbedward
2025-10-25 14:34:25 -04:00
parent 6b3442512a
commit 90284625af
2 changed files with 4 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ Item {
StyledText {
width: 75
text: clockText.hours.length > 0 ? clockText.hours[0] : ""
text: clockText.hours.length > 1 ? clockText.hours[0] : ""
font.pixelSize: 120
font.weight: Font.Light
color: "white"
@@ -233,7 +233,7 @@ Item {
StyledText {
width: 75
text: clockText.hours.length > 1 ? clockText.hours[1] : (clockText.hours.length > 0 ? clockText.hours[0] : "")
text: clockText.hours.length > 1 ? clockText.hours[1] : clockText.hours.length > 0 ? clockText.hours[0] : ""
font.pixelSize: 120
font.weight: Font.Light
color: "white"

View File

@@ -233,7 +233,7 @@ Item {
StyledText {
width: 75
text: clockText.hours.length > 0 ? clockText.hours[0] : ""
text: clockText.hours.length > 1 ? clockText.hours[0] : ""
font.pixelSize: 120
font.weight: Font.Light
color: "white"
@@ -242,7 +242,7 @@ Item {
StyledText {
width: 75
text: clockText.hours.length > 1 ? clockText.hours[1] : (clockText.hours.length > 0 ? clockText.hours[0] : "")
text: clockText.hours.length > 1 ? clockText.hours[1] : clockText.hours.length > 0 ? clockText.hours[0] : ""
font.pixelSize: 120
font.weight: Font.Light
color: "white"