gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 145/204: baseURL


From: gnunet
Subject: [taler-taler-ios] 145/204: baseURL
Date: Thu, 05 Dec 2024 23:51:53 +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 3a8dac4c8fb3b88accf2e12282caaff38773d7f6
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Nov 20 07:49:02 2024 +0100

    baseURL
---
 TalerWallet1/Views/Balances/BalanceCellV.swift | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/TalerWallet1/Views/Balances/BalanceCellV.swift 
b/TalerWallet1/Views/Balances/BalanceCellV.swift
index d6b402d..bc7ae48 100644
--- a/TalerWallet1/Views/Balances/BalanceCellV.swift
+++ b/TalerWallet1/Views/Balances/BalanceCellV.swift
@@ -21,9 +21,21 @@ struct BalanceCellV: View {
     @Environment(\.colorSchemeContrast) private var colorSchemeContrast
     @AppStorage("minimalistic") var minimalistic: Bool = false
 
+    private func baseURL(_ url: String?) -> String {
+        if let url {
+            return url.trimURL
+        } else {
+            return String(localized: "Unknown payment service", comment: 
"exchange url")
+        }
+    }
+
     /// Renders the Balance button. "Balance" leading, amountStr trailing. If 
it doesn't fit in one row then
     /// amount (trailing) goes underneath "Balance" (leading).
     var body: some View {
+#if PRINT_CHANGES
+        let _ = Self._printChanges()
+//        let _ = symLog.vlog()       // just to get the # to compare it with 
.onAppear & onDisappear
+#endif
         let amountV = AmountV(stack: stack.push("AmountV"),
                               scope: scope,
                              amount: amount,

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