commit e49a55d368b12d3127b07ba430f4e7e00fa29977 parent 6b7b0d3a7984b309507da03b4087041799462f7c Author: Marc Stibane <marc@taler.net> Date: Fri, 12 Dec 2025 07:39:51 +0100 reload tx after dismissing a sheet Diffstat:
| M | TalerWallet1/Views/Main/MainView.swift | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -59,10 +59,13 @@ struct MainView: View { // } } private func dismissSheet() { + showScanner = false showActionSheet = false qrButtonTapped = false qrButton2Tapped = false userAction += 1 + // TODO: wallet-core could notify us when it creates a dialog tx + NotificationCenter.default.post(name: .TransactionScanned, object: nil, userInfo: nil) } func hintApplicationResumed() {