mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-16 12:16:42 +00:00
Fix counter
This commit is contained in:
parent
f3043b608c
commit
00e35be2d5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue