mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 18:21:00 +00:00
Profile use compact name formatter for numbers close #1057
This commit is contained in:
parent
f1db2f716d
commit
43cb5164d1
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ struct AccountDetailHeaderView: View {
|
||||||
|
|
||||||
private func makeCustomInfoLabel(title: LocalizedStringKey, count: Int, needsBadge: Bool = false) -> some View {
|
private func makeCustomInfoLabel(title: LocalizedStringKey, count: Int, needsBadge: Bool = false) -> some View {
|
||||||
VStack {
|
VStack {
|
||||||
Text("\(count)")
|
Text(count, format: .number.notation(.compactName))
|
||||||
.font(.scaledHeadline)
|
.font(.scaledHeadline)
|
||||||
.foregroundColor(theme.tintColor)
|
.foregroundColor(theme.tintColor)
|
||||||
.overlay(alignment: .trailing) {
|
.overlay(alignment: .trailing) {
|
||||||
|
|
Loading…
Reference in a new issue