taler-ios

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

commit 8a6c4ca3399c087af6e6a696548450a03935dc15
parent 57ecfe834e1668dc9ae1fcfb7dd632db2984b09f
Author: Marc Stibane <marc@taler.net>
Date:   Sun, 13 Sep 2026 07:32:25 +0200

Use StalledView (w.i.p)

Diffstat:
MTalerWallet1/Views/Transactions/TransactionSummaryList.swift | 30+++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/TalerWallet1/Views/Transactions/TransactionSummaryList.swift b/TalerWallet1/Views/Transactions/TransactionSummaryList.swift @@ -294,20 +294,24 @@ struct TransactionSummaryList: View { } } } - TransactionTypeDetail(stack: stack.push(), - transaction: $talerTX, - payNow: $payNow, - selectedChoice: $selectedChoice, - scope: $scope, - effective: $effective, // return amount for "Pay <amount> now" - hasDone: hasDone) + if controller.stalledConnection { + StalledView() + } else { + TransactionTypeDetail(stack: stack.push(), + transaction: $talerTX, + payNow: $payNow, + selectedChoice: $selectedChoice, + scope: $scope, + effective: $effective, // return amount for "Pay <amount> now" + hasDone: hasDone) - // TODO: Retry Countdown, Retry Now button -// if talerTX.isRetryable, let retryAction { -// TransactionButton(transactionId: common.transactionId, command: .retry, -// warning: nil, action: abortAction) -// } // Retry button - if withActions { abortFailDelete(common) } + // TODO: Retry Countdown, Retry Now button +// if talerTX.isRetryable, let retryAction { +// TransactionButton(transactionId: common.transactionId, command: .retry, +// warning: nil, action: abortAction) +// } // Retry button + if withActions { abortFailDelete(common) } + } }.id(viewId) // change viewId to enforce a draw update .listStyle(myListStyle.style).anyView .background(FullBackground())