Skip to content

Commit 0e96bfd

Browse files
committed
Bugfix: fix PTS watch face showing 00:MM even with 12H
1 parent 59d4586 commit 0e96bfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

InfiniLink/Core/Components/WatchFaceView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ struct PineTimeStyleWF: View {
220220
.foregroundColor(getColor(for: .time))
221221
.frame(width: geometry.size.width, height: geometry.size.height, alignment: .bottomLeading)
222222
}
223-
if Calendar.current.component(.hour, from: Date()) >= 12 && !hour24() {
223+
if !hour24() {
224224
let currentHour = Calendar.current.component(.hour, from: Date())
225225
let hour24 = currentHour > 12 ? currentHour - 12 : (currentHour == 0 ? 12 : currentHour)
226226
let hourString = String(format: "%02d", hour24)

0 commit comments

Comments
 (0)