1
0
Fork 0
mirror of https://github.com/Dimillian/IceCubesApp.git synced 2024-12-16 04:06:36 +00:00

monospacedDigit

This commit is contained in:
Thomas Ricouard 2023-12-28 11:56:23 +01:00
parent d0c2cd4520
commit a09b2fa95e

View file

@ -44,7 +44,7 @@ struct PendingStatusesObserverView: View {
.contentTransition(.numericText(countsDown: true)) .contentTransition(.numericText(countsDown: true))
// Accessibility: this results in a frame with a size of at least 44x44 at regular font size // Accessibility: this results in a frame with a size of at least 44x44 at regular font size
.frame(minWidth: 16, minHeight: 16) .frame(minWidth: 16, minHeight: 16)
.font(.footnote) .font(.footnote.monospacedDigit())
} }
.accessibilityLabel("accessibility.tabs.timeline.unread-posts.label-\(observer.pendingStatusesCount)") .accessibilityLabel("accessibility.tabs.timeline.unread-posts.label-\(observer.pendingStatusesCount)")
.accessibilityHint("accessibility.tabs.timeline.unread-posts.hint") .accessibilityHint("accessibility.tabs.timeline.unread-posts.hint")