gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 27/36: Debugging


From: gnunet
Subject: [taler-taler-ios] 27/36: Debugging
Date: Mon, 13 Nov 2023 21:27:32 +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 fe4794182586d660132fcec7d66d83cb8a2027ab
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Nov 12 23:56:37 2023 +0100

    Debugging
---
 TalerWallet.xcodeproj/project.pbxproj                                | 2 +-
 TalerWallet1/Controllers/Controller.swift                            | 2 +-
 TalerWallet1/Views/Main/MainView.swift                               | 2 +-
 TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift             | 2 +-
 TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift         | 5 +++--
 .../Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift        | 4 ++--
 6 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/TalerWallet.xcodeproj/project.pbxproj 
b/TalerWallet.xcodeproj/project.pbxproj
index 6bdcb51..d4e5fc3 100644
--- a/TalerWallet.xcodeproj/project.pbxproj
+++ b/TalerWallet.xcodeproj/project.pbxproj
@@ -742,8 +742,8 @@
                                4EB095472989CBFE0043A8A1 /* Buttons.swift */,
                                4EF840A62A0B85F400EE0D47 /* CopyShare.swift */,
                                4ECB62812A0BB01D004ABBB7 /* SelectDays.swift */,
-                               4E53A33629F50B7B00830EC2 /* CurrencyField.swift 
*/,
                                4EA551242A2C923600FEC9A8 /* 
CurrencyInputView.swift */,
+                               4E53A33629F50B7B00830EC2 /* CurrencyField.swift 
*/,
                                4EEC157229F8242800D46A03 /* 
QRGeneratorView.swift */,
                                4E5A88F42A38A4FD00072618 /* 
QRCodeDetailView.swift */,
                                4E6EDD862A363D8D0031D520 /* ListStyle.swift */,
diff --git a/TalerWallet1/Controllers/Controller.swift 
b/TalerWallet1/Controllers/Controller.swift
index 39fcc4e..23964cc 100644
--- a/TalerWallet1/Controllers/Controller.swift
+++ b/TalerWallet1/Controllers/Controller.swift
@@ -68,7 +68,7 @@ class Controller: ObservableObject {
 
     func info(for currency: String, _ ticker: Int) -> CurrencyInfo {
         if ticker != currencyTicker {
-            print("Yikes")
+            print("❗️Yikes")
         }
         for info in currencyInfos {
             if info.scope.currency == currency {
diff --git a/TalerWallet1/Views/Main/MainView.swift 
b/TalerWallet1/Views/Main/MainView.swift
index 2e85f78..65f0dcd 100644
--- a/TalerWallet1/Views/Main/MainView.swift
+++ b/TalerWallet1/Views/Main/MainView.swift
@@ -252,7 +252,7 @@ extension MainView {
                         }
                     }
                 } else { // should never happen
-                    logger.error("Yikes! TransactionStateTransition without 
transition")
+                    logger.error("Yikes❗️ TransactionStateTransition without 
transition")
                 }
             }
             .alert("You need to pass a KYC procedure",
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift 
b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
index 9e9ccc6..7d4b384 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
@@ -51,7 +51,7 @@ struct P2pPayURIView: View {
                     .buttonStyle(TalerButtonStyle(type: .prominent))
                     .padding(.horizontal)
             } else {
-                WithdrawProgressView(message: url.host ?? "Yikes - no valid 
URL")
+                WithdrawProgressView(message: url.host ?? "Yikes❗️ no valid 
URL")
                     .navigationTitle("Contacting Exchange")
             }
         }
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift 
b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
index d856947..5086d56 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
@@ -22,6 +22,7 @@ struct P2pReceiveURIView: View {
     @State private var peerPushCreditResponse: PreparePeerPushCreditResponse?
 
     var body: some View {
+        let badURL = "Error in URL: \(url)"
         VStack {
             if let peerPushCreditResponse {
                 List {
@@ -59,8 +60,8 @@ struct P2pReceiveURIView: View {
                 }
             } else {
                 // Yikes no details or no baseURL
-//                WithdrawProgressView(message: url.host ?? badURL)
-//                    .navigationTitle("Contacting Exchange")
+                WithdrawProgressView(message: url.host ?? badURL)
+                    .navigationTitle("Contacting Exchange")
             }
         }
         .onAppear() {
diff --git 
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift 
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
index 2fb147e..a8e5b2d 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
@@ -71,8 +71,8 @@ struct WithdrawURIView: View {
                 }
             } else {
                 // Yikes no details or no baseURL
-//                WithdrawProgressView(message: url.host ?? badURL)
-//                    .navigationTitle("Contacting Exchange")
+                WithdrawProgressView(message: url.host ?? badURL)
+                    .navigationTitle("Contacting Exchange")
             }
         }
         .onAppear() {

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