summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2023-10-16 17:36:06 +0200
committerMarc Stibane <marc@taler.net>2023-10-16 17:36:06 +0200
commitadfc9193b9feb82ef37ff0ca8c1dfc1c5b31a9c9 (patch)
treec291aa08a5c59795d173abde6b02a958c09a0dd6
parent95af8afea0d13695be5f259961df9d83dff01567 (diff)
downloadtaler-ios-adfc9193b9feb82ef37ff0ca8c1dfc1c5b31a9c9.tar.gz
taler-ios-adfc9193b9feb82ef37ff0ca8c1dfc1c5b31a9c9.tar.bz2
taler-ios-adfc9193b9feb82ef37ff0ca8c1dfc1c5b31a9c9.zip
disable some debug output
-rw-r--r--TalerWallet1/Views/Balances/BalanceRowView.swift2
-rw-r--r--TalerWallet1/Views/Balances/BalancesListView.swift2
-rw-r--r--TalerWallet1/Views/Sheets/QRSheet.swift4
3 files changed, 4 insertions, 4 deletions
diff --git a/TalerWallet1/Views/Balances/BalanceRowView.swift b/TalerWallet1/Views/Balances/BalanceRowView.swift
index 129ea3d..6a35992 100644
--- 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
index 8ccad0c..2ab8f93 100644
--- 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
index 315c60b..17cf9f2 100644
--- 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 {