From a09b2fa95e4a27ea773689ccb0a3c08443ff17e4 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Thu, 28 Dec 2023 11:56:23 +0100 Subject: [PATCH] monospacedDigit --- .../Timeline/Sources/Timeline/PendingStatusesObserver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Timeline/Sources/Timeline/PendingStatusesObserver.swift b/Packages/Timeline/Sources/Timeline/PendingStatusesObserver.swift index d5a307dd..20160646 100644 --- a/Packages/Timeline/Sources/Timeline/PendingStatusesObserver.swift +++ b/Packages/Timeline/Sources/Timeline/PendingStatusesObserver.swift @@ -44,7 +44,7 @@ struct PendingStatusesObserverView: View { .contentTransition(.numericText(countsDown: true)) // Accessibility: this results in a frame with a size of at least 44x44 at regular font size .frame(minWidth: 16, minHeight: 16) - .font(.footnote) + .font(.footnote.monospacedDigit()) } .accessibilityLabel("accessibility.tabs.timeline.unread-posts.label-\(observer.pendingStatusesCount)") .accessibilityHint("accessibility.tabs.timeline.unread-posts.hint")