taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit adfc9193b9feb82ef37ff0ca8c1dfc1c5b31a9c9
parent 95af8afea0d13695be5f259961df9d83dff01567
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 16 Oct 2023 17:36:06 +0200

disable some debug output

Diffstat:
MTalerWallet1/Views/Balances/BalanceRowView.swift | 2+-
MTalerWallet1/Views/Balances/BalancesListView.swift | 2+-
MTalerWallet1/Views/Sheets/QRSheet.swift | 4++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/TalerWallet1/Views/Balances/BalanceRowView.swift b/TalerWallet1/Views/Balances/BalanceRowView.swift @@ -97,7 +97,7 @@ struct BalanceRowView: View { let twoRowButtons = TwoRowButtons(sendTitle: sendTitle, recvTitle: requestTitle, lineLimit: 5, sendDisabled: amount.isZero, sendAction: sendAction, recvAction: recvAction) - let _ = print("Screenwidth: \(UIScreen.screenWidth) Geometry: \(width) \(sizeCategory): \(sizeCategory)") +// let _ = print("Screenwidth: \(UIScreen.screenWidth) Geometry: \(width) \(sizeCategory): \(sizeCategory)") if Self.needVStack(titles, width: width, spacing: SPACING) { VStack { twoRowButtons } } else { diff --git a/TalerWallet1/Views/Balances/BalancesListView.swift b/TalerWallet1/Views/Balances/BalancesListView.swift @@ -9,7 +9,7 @@ import AVFoundation /// This view shows the list of balances / currencies, each in its own section struct BalancesListView: View { - private let symLog = SymLogV() + private let symLog = SymLogV(0) let stack: CallStack let navTitle: String @Binding var balances: [Balance] diff --git a/TalerWallet1/Views/Sheets/QRSheet.swift b/TalerWallet1/Views/Sheets/QRSheet.swift @@ -15,14 +15,14 @@ struct QRSheet: View { var body: some View { Group { if scannedCode != nil { - let _ = print(scannedCode as Any) // TODO: logging +// let _ = print(scannedCode as Any) // TODO: logging if let scannedURL = URL(string: scannedCode!) { let scheme = scannedURL.scheme if scheme == "taler" { URLSheet(stack: stack.push(), urlToOpen: scannedURL) } else { - let _ = print(scannedURL) // TODO: logging +// let _ = print(scannedURL) // TODO: logging ErrorView(errortext: scannedURL.absoluteString) } } else {