mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +00:00
Fix action button counter glitch in most scenarios (#1009)
Adds monospacedDigit modifier to the counter next to action button counter labels. This fixes the layout glitch that happens when the counter changes, most noticeably when you tap the boost or favorite button except for when the counter gains or loses a digit (9 -> 10, 99 -> 100 etc…) Still greatly improves the actions view experience though. Co-authored-by: Pascal Batty <pascal@zen.ly>
This commit is contained in:
parent
482d93a68d
commit
f1a1905098
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ struct StatusRowActionsView: View {
|
|||
Text("\(count)")
|
||||
.foregroundColor(Color(UIColor.secondaryLabel))
|
||||
.font(.scaledFootnote)
|
||||
.monospacedDigit()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue