taler-ios

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

commit bdd4d2f109a237170fafac364410abb6c51454cb
parent 16f6f6292388b35b6828e4502e75bc698c786882
Author: Marc Stibane <marc@taler.net>
Date:   Thu, 19 Nov 2026 19:53:34 +0100

AI: #12142 moved notification handling to group

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

diff --git a/TalerWallet1/Views/Transactions/TransactionSummaryList.swift b/TalerWallet1/Views/Transactions/TransactionSummaryList.swift @@ -485,14 +485,6 @@ struct TransactionSummaryList: View { .onNotification(.DismissSheet) { notification in checkDismiss(notification, "exchangeWaitReserve or withdrawCoins => dismiss sheet") } - .onNotification(.PendingReady) { notification in - checkReload(stack.push("pendingReady"), notification, "pending ready ==> reload for talerURI") - } - .onNotification(.TransactionStateTransition) { notification in - if !didDelete { - checkReload(stack.push("TransactionStateTransition"), notification, "some transition ==> reload") - } - } } else { Color.clear .frame(maxWidth: .infinity, maxHeight: .infinity) @@ -502,6 +494,14 @@ struct TransactionSummaryList: View { } } // else } // Group + .onNotification(.PendingReady) { notification in + checkReload(stack.push("pendingReady"), notification, "pending ready ==> reload for talerURI") + } + .onNotification(.TransactionStateTransition) { notification in + if !didDelete { + checkReload(stack.push("TransactionStateTransition"), notification, "some transition ==> reload") + } + } .onChange(of: scope) { newVal in if let newVal { currencyInfo = controller.info(for: newVal) ?? CurrencyInfo.zero(UNKNOWN)