mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
FIX: Complication was showing cents.
This commit is contained in:
parent
43d071f86b
commit
f48202481e
@ -17,7 +17,6 @@ var numberFormatter: NumberFormatter {
|
||||
formatter.numberStyle = .decimal
|
||||
formatter.maximumFractionDigits = 0
|
||||
formatter.locale = Locale.current
|
||||
formatter.groupingSeparator = " "
|
||||
return formatter
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@ struct WidgetDataStore: Codable {
|
||||
let numberFormatter = NumberFormatter()
|
||||
numberFormatter.locale = Locale(identifier: WidgetAPI.getUserPreferredCurrencyLocale())
|
||||
numberFormatter.numberStyle = .currency
|
||||
numberFormatter.usesSignificantDigits = true
|
||||
numberFormatter.maximumFractionDigits = 0
|
||||
numberFormatter.minimumFractionDigits = 0
|
||||
numberFormatter.currencySymbol = ""
|
||||
|
Loading…
Reference in New Issue
Block a user