Profile use compact name formatter for numbers close #1057

This commit is contained in:
Thomas Ricouard 2023-02-25 18:37:07 +01:00
parent f1db2f716d
commit 43cb5164d1
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ struct AccountDetailHeaderView: View {
private func makeCustomInfoLabel(title: LocalizedStringKey, count: Int, needsBadge: Bool = false) -> some View {
VStack {
Text("\(count)")
Text(count, format: .number.notation(.compactName))
.font(.scaledHeadline)
.foregroundColor(theme.tintColor)
.overlay(alignment: .trailing) {