taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 5c7b79eb808a0358eade2d5d4df97bd8461069d8
parent b13b5459a0493a746ae0b12712dffb6abb9ab48a
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 17 Feb 2025 11:23:09 +0100

cleanup

Diffstat:
MTalerWallet1/Helper/CurrencySpecification.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Helper/CurrencySpecification.swift b/TalerWallet1/Helper/CurrencySpecification.swift @@ -297,7 +297,7 @@ public class CurrencyFormatter: NumberFormatter { var name: String? var altUnitName0: String? // specs.altUnitNames[0] should have either the name - var altUnitSymbol: String? // specs.altUnitNames[0] should have the Symbol ($,€,¥) + var altUnitSymbol: String? // specs.altUnitNames[0] should have the Symbol ($,€,¥) var currency: String var leadingCurrencySymbol: Bool /// factory @@ -328,7 +328,7 @@ public class CurrencyFormatter: NumberFormatter { super.init() // self.currencyCode = EUR_4217 // self.currencySymbol = "€" - self.locale = Locale.autoupdatingCurrent + self.locale = Locale.autoupdatingCurrent // TODO: Yikes, might override my currency! Needs testing! if #available(iOS 16.0, *) { let currency = self.locale.currency if let currencyCode = currency?.identifier {