gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 56/69: remove "code", since "currency" IS ISO-4217 alr


From: gnunet
Subject: [taler-taler-ios] 56/69: remove "code", since "currency" IS ISO-4217 already for global
Date: Fri, 19 Jan 2024 09:02:29 +0100

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit 85b019d4b606a7ce0b09d54ce0c1884cf132f4fc
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Jan 18 00:48:36 2024 +0100

    remove "code", since "currency" IS ISO-4217 already for global
---
 TalerWallet1/Helper/CurrencySpecification.swift | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/TalerWallet1/Helper/CurrencySpecification.swift 
b/TalerWallet1/Helper/CurrencySpecification.swift
index 6acea89..7cae270 100644
--- a/TalerWallet1/Helper/CurrencySpecification.swift
+++ b/TalerWallet1/Helper/CurrencySpecification.swift
@@ -70,7 +70,6 @@ public struct CurrencyInfo {
     public static func zero(_ currency: String) -> CurrencyInfo {
         let scope = ScopeInfo(type: .global, currency: currency)
         let specs = CurrencySpecification(name: currency,
-                                          code: currency,
                          fractionalInputDigits: 0,
                         fractionalNormalDigits: 0,
                   fractionalTrailingZeroDigits: 0,
@@ -169,7 +168,6 @@ public struct CurrencySpecification2: Codable, Sendable {
 public struct CurrencySpecification: Codable, Sendable {
     enum CodingKeys: String, CodingKey {
         case name = "name"
-        case code = "code"
         case fractionalInputDigits = "num_fractional_input_digits"
         case fractionalNormalDigits = "num_fractional_normal_digits"
         case fractionalTrailingZeroDigits = 
"num_fractional_trailing_zero_digits"
@@ -177,8 +175,6 @@ public struct CurrencySpecification: Codable, Sendable {
     }
     /// some name for this CurrencySpecification
     let name: String
-    /// 3-char ISO 4217 code for global currency. Regional MUST be >= 4 letters
-    let code: String?
     /// how much digits the user may enter after the decimal separator
     let fractionalInputDigits: Int
     /// €,$,£: 2;  some arabic currencies: 3,  ¥: 0

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]