commit 95ed69a443590c5d3c2edc103b8e2b4b47092eaa parent 556491851f1bcd0f4ae392584b4a7b87aadcd4ef Author: Marc Stibane <marc@taler.net> Date: Wed, 8 May 2024 22:28:43 +0200 debugging Diffstat:
| M | TalerWallet1/Backend/WalletCore.swift | | | 4 | +++- |
| M | TalerWallet1/Views/Balances/BalancesListView.swift | | | 2 | +- |
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Backend/WalletCore.swift b/TalerWallet1/Backend/WalletCore.swift @@ -168,7 +168,9 @@ extension WalletCore { } private func handlePendingProcessed(_ payload: Payload) throws { - guard let id = payload.id else { throw WalletBackendError.deserializationError } + guard let id = payload.id else { + throw WalletBackendError.deserializationError + } let pendingOp = Notification.Name.PendingOperationProcessed.rawValue if id.hasPrefix("exchange-update:") { // Bla Bla Bla diff --git a/TalerWallet1/Views/Balances/BalancesListView.swift b/TalerWallet1/Views/Balances/BalancesListView.swift @@ -110,7 +110,7 @@ struct BalancesListView: View { dismissAlertButton }, message: { Text("Please allow camera access in settings.") }) .sheet(isPresented: $showQRScanner, onDismiss: dismissingSheet) { - let sheet = AnyView(QRSheet(stack: stack.push())) + let sheet = AnyView(QRSheet(stack: stack.push(".sheet"))) Sheet(sheetView: sheet) } // sheet .task(id: shouldReloadBalances) {