aboutsummaryrefslogtreecommitdiff
path: root/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2024-01-18 00:13:20 +0100
committerMarc Stibane <marc@taler.net>2024-01-18 00:33:23 +0100
commitf5d399ef4239c5be20f7c9bb8d1ec8d1d14e87d8 (patch)
tree14232b6a0c657e49e2766c1c9efe05be5b5e9293 /TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift
parentd243328ba79f0b8b46017150631ac8ab5e1f2859 (diff)
downloadtaler-ios-f5d399ef4239c5be20f7c9bb8d1ec8d1d14e87d8.tar.gz
taler-ios-f5d399ef4239c5be20f7c9bb8d1ec8d1d14e87d8.tar.bz2
taler-ios-f5d399ef4239c5be20f7c9bb8d1ec8d1d14e87d8.zip
cleanup
Diffstat (limited to 'TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift')
-rw-r--r--TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift5
1 files changed, 4 insertions, 1 deletions
diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift
index 3e9a337..a15ebd3 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptDone.swift
@@ -22,6 +22,9 @@ struct WithdrawAcceptDone: View {
func reloadOneAction(_ transactionId: String) async throws -> Transaction {
return try await model.getTransactionByIdT(transactionId)
}
+ func dismissTopAnimated(_ stack: CallStack) {
+ dismissTop()
+ }
var body: some View {
#if PRINT_CHANGES
@@ -34,7 +37,7 @@ struct WithdrawAcceptDone: View {
transactionId: transactionId,
reloadAction: reloadOneAction,
navTitle: navTitle,
- doneAction: { dismissTop() },
+ doneAction: dismissTopAnimated,
abortAction: nil,
deleteAction: nil,
failAction: nil,