Fix counter
This commit is contained in:
parent
f3043b608c
commit
00e35be2d5
|
@ -41,7 +41,7 @@ struct PendingStatusesObserverView: View {
|
|||
observer.scrollToIndex?(observer.pendingStatusesCount)
|
||||
} label: {
|
||||
Text("\(observer.pendingStatusesCount)")
|
||||
.contentTransition(.numericText(countsDown: true))
|
||||
.contentTransition(.numericText(value: Double(observer.pendingStatusesCount)))
|
||||
// Accessibility: this results in a frame with a size of at least 44x44 at regular font size
|
||||
.frame(minWidth: 16, minHeight: 16)
|
||||
.font(.footnote.monospacedDigit())
|
||||
|
|
Loading…
Reference in New Issue