commit 447a8709ba9d8cdd308011a84130a7403d7178d8 parent f9af5057f8dedeeef64314b2a8f5978251e6028d Author: Marc Stibane <marc@taler.net> Date: Wed, 3 Jan 2024 13:43:08 +0100 PRINT_CHANGES Diffstat:
22 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/TalerWallet1/Controllers/DebugViewC.swift b/TalerWallet1/Controllers/DebugViewC.swift @@ -110,7 +110,7 @@ struct DebugViewV: View { @EnvironmentObject private var debugViewC: DebugViewC var body: some View { -#if DEBUG +#if PRINT_CHANGES // let _ = Self._printChanges() // let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Balances/BalancesListView.swift b/TalerWallet1/Views/Balances/BalancesListView.swift @@ -93,7 +93,7 @@ struct BalancesListView: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif @@ -137,7 +137,7 @@ extension BalancesListView { var reloadBalances: (_ stack: CallStack, _ invalidateCache: Bool) async -> Int var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog?.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift b/TalerWallet1/Views/Balances/BalancesSectionView.swift @@ -53,7 +53,7 @@ struct BalancesSectionView { extension BalancesSectionView: View { var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Exchange/ExchangeListView.swift b/TalerWallet1/Views/Exchange/ExchangeListView.swift @@ -91,7 +91,7 @@ struct ExchangeListCommonV: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog?.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Exchange/ExchangeRowView.swift b/TalerWallet1/Views/Exchange/ExchangeRowView.swift @@ -34,7 +34,7 @@ struct ExchangeRowView: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear let delay: UInt = 0 // set to 5 to test delayed currency information diff --git a/TalerWallet1/Views/Exchange/ExchangeSectionView.swift b/TalerWallet1/Views/Exchange/ExchangeSectionView.swift @@ -15,7 +15,7 @@ struct ExchangeSectionView: View { @Binding var amountToTransfer: Amount // does still have the wrong currency var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() // let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift b/TalerWallet1/Views/Exchange/ManualWithdraw.swift @@ -24,7 +24,7 @@ struct ManualWithdraw: View { // @State var selectedAge = 0 var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Exchange/ManualWithdrawDone.swift b/TalerWallet1/Views/Exchange/ManualWithdrawDone.swift @@ -25,7 +25,7 @@ struct ManualWithdrawDone: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/HelperViews/CurrencyField.swift b/TalerWallet1/Views/HelperViews/CurrencyField.swift @@ -52,7 +52,7 @@ struct CurrencyField: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog(amount.description) // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -32,7 +32,7 @@ struct MainView: View { logger.info("sheet dismiss") } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif @@ -163,7 +163,7 @@ extension MainView { #endif var body: some View { -#if DEBUG +#if PRINT_CHANGES // "@self" marks that the view value itself has changed, and "@identity" marks that the // identity of the view has changed (that is, that the persistent data associated with // the view has been recycled for a new instance of the same type) diff --git a/TalerWallet1/Views/Peer2peer/P2PReadyV.swift b/TalerWallet1/Views/Peer2peer/P2PReadyV.swift @@ -32,7 +32,7 @@ struct P2PReadyV: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Peer2peer/P2PSubjectV.swift b/TalerWallet1/Views/Peer2peer/P2PSubjectV.swift @@ -51,7 +51,7 @@ struct P2PSubjectV: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog(amountToTransfer.readableDescription) // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Peer2peer/RequestPayment.swift b/TalerWallet1/Views/Peer2peer/RequestPayment.swift @@ -29,7 +29,7 @@ struct RequestPayment: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Peer2peer/SendAmount.swift b/TalerWallet1/Views/Peer2peer/SendAmount.swift @@ -45,7 +45,7 @@ struct SendAmount: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Settings/AboutView.swift b/TalerWallet1/Views/Settings/AboutView.swift @@ -24,7 +24,7 @@ struct AboutView: View { @State private var listID = UUID() var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Settings/SettingsView.swift b/TalerWallet1/Views/Settings/SettingsView.swift @@ -80,7 +80,7 @@ struct SettingsView: View { } } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pAcceptDone.swift b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pAcceptDone.swift @@ -24,7 +24,7 @@ struct P2pAcceptDone: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Sheets/URLSheet.swift b/TalerWallet1/Views/Sheets/URLSheet.swift @@ -16,7 +16,7 @@ struct URLSheet: View { @State private var amountToTransfer = Amount.zero(currency: "") var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift @@ -24,7 +24,7 @@ struct WithdrawAcceptDone: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Sheets/WithdrawExchangeV.swift b/TalerWallet1/Views/Sheets/WithdrawExchangeV.swift @@ -18,7 +18,7 @@ struct WithdrawExchangeV: View { @State private var amountToTransfer = Amount.zero(currency: "") var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Transactions/TransactionDetailView.swift b/TalerWallet1/Views/Transactions/TransactionDetailView.swift @@ -99,7 +99,7 @@ struct TransactionDetailView: View { } var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif diff --git a/TalerWallet1/Views/Transactions/TransactionsListView.swift b/TalerWallet1/Views/Transactions/TransactionsListView.swift @@ -21,7 +21,7 @@ struct TransactionsListView: View { @State private var upAction: () -> Void = {} @State private var downAction: () -> Void = {} var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif @@ -87,7 +87,7 @@ struct TransactionsArraySliceV: View { @EnvironmentObject private var model: WalletModel var body: some View { -#if DEBUG +#if PRINT_CHANGES let _ = Self._printChanges() let _ = symLog?.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif