gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 06/08: cleanup


From: gnunet
Subject: [taler-taler-ios] 06/08: cleanup
Date: Thu, 07 Dec 2023 00:44:23 +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 835e740e042f2317f1ae2347e986ceeea7b423a7
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Dec 7 00:16:33 2023 +0100

    cleanup
---
 TalerWallet1/Model/Model+Withdraw.swift | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/TalerWallet1/Model/Model+Withdraw.swift 
b/TalerWallet1/Model/Model+Withdraw.swift
index 8bd558c..52f8355 100644
--- a/TalerWallet1/Model/Model+Withdraw.swift
+++ b/TalerWallet1/Model/Model+Withdraw.swift
@@ -45,7 +45,6 @@ fileprivate struct GetWithdrawalDetailsForURI: 
WalletBackendFormattedRequest {
 // MARK: -
 /// The result from getWithdrawalDetailsForAmount
 struct WithdrawalAmountDetails: Decodable {
-    var tosAccepted: Bool               // Did the user accept the current 
version of the exchange's terms of service?
     var amountRaw: Amount               // Amount that the user will transfer 
to the exchange
     var amountEffective: Amount         // Amount that will be added to the 
user's wallet balance
     var numCoins: Int?                  // Number of coins this 
amountEffective will create
@@ -68,14 +67,9 @@ fileprivate struct GetWithdrawalDetailsForAmount: 
WalletBackendFormattedRequest
 }
 // MARK: -
 enum ExchangeTosStatus: String, Codable {
-    case new = "new"                                                           
 // deprecated
-//    case accepted = "accepted"                                               
   // old == new
-    case changed = "changed"                                                   
 // deprecated
-    case notFound = "not-found"                                                
 // deprecated
-    case unknown = "unknown"                                                   
 // deprecated
-    case pending                                                // new, but 
not yet deployed in demo.taler.net
-    case proposed                                               // new, but 
not yet deployed in demo.taler.net
-    case accepted                                               // new == old
+    case pending
+    case proposed
+    case accepted
 }
 struct ExchangeTermsOfService: Decodable {
     var currentEtag: String

-- 
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]