Profile use compact name formatter for numbers close #1057
This commit is contained in:
parent
f1db2f716d
commit
43cb5164d1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue