gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 20/25: Debugging


From: gnunet
Subject: [taler-taler-ios] 20/25: Debugging
Date: Mon, 06 Nov 2023 20:40:27 +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 03bb845429ae4b241e97a56fdc7394e02d35324d
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Nov 6 19:47:49 2023 +0100

    Debugging
---
 TalerWallet1/Views/Balances/PendingRowView.swift  | 4 ++--
 TalerWallet1/Views/Exchange/ExchangeRowView.swift | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Views/Balances/PendingRowView.swift 
b/TalerWallet1/Views/Balances/PendingRowView.swift
index ffe1c7d..c312006 100644
--- a/TalerWallet1/Views/Balances/PendingRowView.swift
+++ b/TalerWallet1/Views/Balances/PendingRowView.swift
@@ -27,8 +27,8 @@ struct PendingRowContentV: View {
             totalWidth = totalStr.widthOfString(usingUIFont: uiFont, 
sizeCategory)
         }
 
-    let logStr = String(format: "image: %.2f   title: %.2f   total: %.2f", 
imageWidth, max(title1Width, title2Width), totalWidth)
-    print(logStr)
+//    let logStr = String(format: "image: %.2f   title: %.2f   total: %.2f", 
imageWidth, max(title1Width, title2Width), totalWidth)
+//    print(logStr)
         return imageWidth + (isHorizontal ? totalWidth
                                           : max(title1Width, title2Width))
     }
diff --git a/TalerWallet1/Views/Exchange/ExchangeRowView.swift 
b/TalerWallet1/Views/Exchange/ExchangeRowView.swift
index 2e8aaf3..0ed21cb 100644
--- a/TalerWallet1/Views/Exchange/ExchangeRowView.swift
+++ b/TalerWallet1/Views/Exchange/ExchangeRowView.swift
@@ -18,7 +18,8 @@ struct ExchangeRowView: View {
 
     func selectAndUpdate(_ button: Int) {
         buttonSelected = button      // will trigger NavigationLink
-        // TODO: while navigation animation runs, contact Exchange to update 
Fees
+        // TODO: after user tapped a button, while navigation animation runs, 
contact Exchange to update Fees
+        // cannot be uncommented yet since there is no scopeInfo
 //        Task { // runs on MainActor
 //            do {
 //                try await model.updateExchange(scopeInfo: balance.scopeInfo)
@@ -28,8 +29,6 @@ struct ExchangeRowView: View {
 //        }
     }
 
-
-//    func
     func titles(_ title: String) -> (String, String?) {
         if let separatorIndex = title.firstIndex(of: "\n") {
             let title1 = String(title[..<separatorIndex])
@@ -50,6 +49,7 @@ struct ExchangeRowView: View {
     var body: some View {
         let depositTitle0 = String(localized: "DepositButton_Short", 
defaultValue: "Deposit",
                                    comment: "Abbreviation of `Deposit 
(currency)´")
+                    // TODO: deal with \t
         let depositTitle1 = String(localized: "Deposit\t\(currency)",
                                    comment: "Button `Deposit (currency)´, must 
have ONE \\t and ONE %@")
         let withdrawTitle0 = String(localized: "WithdrawButton_Short", 
defaultValue: "Withdraw",

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