gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 15/17: cleanup


From: gnunet
Subject: [taler-taler-ios] 15/17: cleanup
Date: Thu, 11 Apr 2024 23:13:47 +0200

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 643226c49eb98332762a92c72bc8049bdf28c05e
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Apr 11 22:52:18 2024 +0200

    cleanup
---
 TalerWallet1/Controllers/DebugViewC.swift                        | 9 +++++----
 TalerWallet1/Model/Model+Withdraw.swift                          | 3 ++-
 .../Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift    | 2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/TalerWallet1/Controllers/DebugViewC.swift 
b/TalerWallet1/Controllers/DebugViewC.swift
index 8cd8108..c7de32f 100644
--- a/TalerWallet1/Controllers/DebugViewC.swift
+++ b/TalerWallet1/Controllers/DebugViewC.swift
@@ -39,15 +39,14 @@ public let VIEW_TRANSACTIONSUMMARY = VIEW_TRANSACTIONLIST + 
1       // 22 Transa
 public let VIEW_TRANSACTIONDETAIL = VIEW_TRANSACTIONSUMMARY + 1     // 23 
TransactionDetail
 
 
-
 // MARK: - Manual Withdrawal (from Banking / ExchangeList)
-// receive coins from bank ==> shows IBAN + Purpose/Subject for manual wire 
transfer
+// receive coins from bank ==> shows payee, IBAN + Purpose/Subject for manual 
wire transfer
 public let VIEW_WITHDRAWAL = VIEW_EMPTY_HISTORY + 10                // 30 
WithdrawAmount
 public let VIEW_WITHDRAW_TOS = VIEW_WITHDRAWAL + 1                  // 31 
WithdrawTOSView
 public let VIEW_WITHDRAW_ACCEPT = VIEW_WITHDRAW_TOS + 1             // 32
 
 // MARK: Manual Deposit (from Banking / ExchangeList)
-// send coins back to bank account ==> orders exchange to make the wire 
transfer
+// send coins back to customer ==> instruct exchange to make the wire transfer 
to the customer's bank account
 public let VIEW_DEPOSIT = VIEW_WITHDRAWAL + 10                      // 40 
Deposit Coins
 //public let VIEW_DEPOSIT_TOS                                       // - user 
already accepted the ToS at withdrawal, invoice or receive
 public let VIEW_DEPOSIT_ACCEPT = VIEW_DEPOSIT + 2                   // 42
@@ -57,7 +56,7 @@ public let VIEW_DEPOSIT_ACCEPT = VIEW_DEPOSIT + 2             
      // 42
 public let VIEW_P2P_SEND = VIEW_DEPOSIT + 10                        // 50 Send 
Coins
 //public let VIEW_SEND_TOS                                          // - user 
already accepted the ToS at withdrawal, invoice or receive
 public let VIEW_P2P_SUBJECT = VIEW_P2P_SEND + 2                     // 52 Send 
/ Request Subject
-public let VIEW_P2P_READY = VIEW_P2P_SEND + 3                       // 53 Send 
/ Request Ready 
+public let VIEW_P2P_READY = VIEW_P2P_SUBJECT + 1                    // 53 Send 
/ Request Ready
 
 // MARK: P2P Private Receive (from Balances)
 // pull credit from another wallet ==> shows QR code to be scanned / link to 
be sent by mail or messenger
@@ -104,6 +103,8 @@ public let SHEET_RCV_P2P_ACCEPT = SHEET_RCV_P2P_TOS + 1     
        // 162 Recei
 // openURL (Link, NFC or scan QR) ==> receive coins from merchant
 public let SHEET_REFUND = SHEET_RCV_P2P + 10                        // 170 
Receive Refunds
 
+
+// MARK: -
 extension UIDevice {
     var hasNotch: Bool {
         let bottom = UIApplication.shared.keyWindow?.safeAreaInsets.bottom ?? 0
diff --git a/TalerWallet1/Model/Model+Withdraw.swift 
b/TalerWallet1/Model/Model+Withdraw.swift
index 6fb65be..7aa2488 100644
--- a/TalerWallet1/Model/Model+Withdraw.swift
+++ b/TalerWallet1/Model/Model+Withdraw.swift
@@ -209,7 +209,8 @@ extension WalletModel {
         return response
     }
     @MainActor                     // M for MainActor
-    func getWithdrawalDetailsForAmountM(_ exchangeBaseUrl: String, amount: 
Amount, cancellationId: String? = nil, viewHandles: Bool = false)
+    func getWithdrawalDetailsForAmountM(_ exchangeBaseUrl: String, amount: 
Amount,
+                                           cancellationId: String? = nil, 
viewHandles: Bool = false)
       async throws -> WithdrawalAmountDetails {
         let request = GetWithdrawalDetailsForAmount(exchangeBaseUrl: 
exchangeBaseUrl,
                                                              amount: amount,
diff --git 
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift 
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
index adf0a51..651b502 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
@@ -10,7 +10,7 @@ import taler_swift
 import SymLog
 
 // Called either when scanning a QR code or tapping the provided link, both 
from the bank's website.
-// We show the user the withdrawal details in a sheet - but first the ToS must 
be accepted.
+// We show the user the bank-integrated withdrawal details in a sheet - but 
first the ToS must be accepted.
 // After the user confirmed the withdrawal, we show a button to return to the 
bank website to confirm there, too
 struct WithdrawURIView: View {
     private let symLog = SymLogV(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]