[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.
- [taler-taler-ios] 129/204: currencyInfo, (continued)
- [taler-taler-ios] 129/204: currencyInfo, gnunet, 2024/12/05
- [taler-taler-ios] 131/204: wire fee, gnunet, 2024/12/05
- [taler-taler-ios] 115/204: Refund, gnunet, 2024/12/05
- [taler-taler-ios] 125/204: Button visible, gnunet, 2024/12/05
- [taler-taler-ios] 127/204: Remove "Amount too small", gnunet, 2024/12/05
- [taler-taler-ios] 130/204: Sheet logic, gnunet, 2024/12/05
- [taler-taler-ios] 117/204: Transactions, gnunet, 2024/12/05
- [taler-taler-ios] 133/204: addGlobalCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 132/204: don't reload after delete, gnunet, 2024/12/05
- [taler-taler-ios] 134/204: use addGlobalCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 145/204: baseURL,
gnunet <=
- [taler-taler-ios] 151/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 158/204: Logging, gnunet, 2024/12/05
- [taler-taler-ios] 140/204: wording, gnunet, 2024/12/05
- [taler-taler-ios] 154/204: show product images, gnunet, 2024/12/05
- [taler-taler-ios] 160/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 163/204: fix deposit, gnunet, 2024/12/05
- [taler-taler-ios] 165/204: get rid of P2P, gnunet, 2024/12/05
- [taler-taler-ios] 144/204: scope from balance, gnunet, 2024/12/05
- [taler-taler-ios] 135/204: Colors, gnunet, 2024/12/05
- [taler-taler-ios] 137/204: restrictScope, gnunet, 2024/12/05