taler-ios

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

commit faef535e593685bc349be7978d50460229a94f11
parent 37453e363c63b7cdfd02ada2c53108bc6a3aaff4
Author: Marc Stibane <marc@taler.net>
Date:   Thu, 21 Nov 2024 22:06:28 +0100

ensure to pay only ONCE

Diffstat:
MTalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift | 17++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift @@ -53,7 +53,6 @@ struct WithdrawAcceptDone: View { let _ = Self._printChanges() let _ = symLog.vlog() // just to get the # to compare it with .onAppear & onDisappear #endif - Group { if let transactionId { TransactionSummaryV(stack: stack.push(), scope: scope, @@ -80,16 +79,16 @@ struct WithdrawAcceptDone: View { .padding(.horizontal) } } + .onAppear() { + symLog.log("onAppear") + DebugViewC.shared.setSheetID(SHEET_WITHDRAW_CONFIRM) + } } else { - LoadingView(scopeInfo: nil, message: exchangeBaseUrl?.trimURL - ?? "Bank Authorization") + let fallback = String(localized: "Bank Authorization") + LoadingView(scopeInfo: nil, + message: exchangeBaseUrl?.trimURL ?? fallback) + .task { await viewDidLoad() } } - } - .task { await viewDidLoad() } - .onAppear() { - symLog.log("onAppear") - DebugViewC.shared.setSheetID(SHEET_WITHDRAW_CONFIRM) - } } } // MARK: -