Take effect immediately after setting the time format

pull/18/head
reionwong 4 years ago
parent 9fd06f84ca
commit 631b5c2a1c

@ -39,6 +39,10 @@ Item {
property var timeFormat: StatusBar.twentyFourTime ? "HH:mm" : "h:mm ap"
onTimeFormatChanged: {
timeTimer.restart()
}
Rectangle {
id: background
anchors.fill: parent
@ -450,6 +454,7 @@ Item {
color: rootItem.textColor
Timer {
id: timeTimer
interval: 1000
repeat: true
running: true

Loading…
Cancel
Save