commit 86041ad2fc728adcabcdd20638eb9f55eebace8f
parent f8eda5bf2235fb6a8940c4c758229a0e501c74b7
Author: Marc Stibane <marc@taler.net>
Date: Fri, 12 Dec 2025 08:04:45 +0100
remove scanned tx after p2p
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pAcceptDone.swift b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pAcceptDone.swift
@@ -25,10 +25,16 @@ struct P2pAcceptDone: View {
private func viewDidLoad() async {
if incoming {
if let _ = try? await model.acceptPeerPushCredit(transactionId) {
+ if let url {
+ controller.removeURL(url)
+ }
dismissTop(stack.push())
}
} else {
if let _ = try? await model.confirmPeerPullDebit(transactionId) {
+ if let url {
+ controller.removeURL(url)
+ }
dismissTop(stack.push())
}
}