commit d56caf945891c91d76f4f3385bdbb9fa55f666ef parent 222c1b6a0cc4e1cb03904bdd1b26c753310413ce Author: Marc Stibane <marc@taler.net> Date: Wed, 2 Sep 2026 14:39:36 +0200 simplify Diffstat:
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/TalerWallet1/Views/Actions/ActionsSheet.swift b/TalerWallet1/Views/Actions/ActionsSheet.swift @@ -330,7 +330,7 @@ struct DualHeightSheet: View { logger.trace("onChange❗️selectedDetent = .height(\(sheetHeight)) supportedDetents = [detent, .height(sheetHeight)]") supportedDetents = [detent, newValue] // logger.trace("did set supportedDetents to [\(detent), .height(\(sheetHeight))]") - let _ = print("did set supportedDetents to [\(detent), newValue: \(newValue))]") + print("did set supportedDetents to [\(detent), newValue: \(newValue))]") } } .task { diff --git a/TalerWallet1/Views/Balances/DiscountPasses.swift b/TalerWallet1/Views/Balances/DiscountPasses.swift @@ -171,7 +171,7 @@ struct DiscountsPassesList: View { index: index ) { deletionID in Task { // runs on MainActor - let _ = await delete(deletionID) + await delete(deletionID) await refresh() } } diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -201,7 +201,7 @@ struct MainView: View { DispatchQueue.main.asyncAfter(deadline: .now() + 3) { biometricService.authenticationError = nil if !biometricService.canAuthenticate { - let _ = print("authentication not available") + print("authentication not available") useAuthentication = false // switch off } } diff --git a/TalerWallet1/Views/Transactions/PaymentTransactionView.swift b/TalerWallet1/Views/Transactions/PaymentTransactionView.swift @@ -134,7 +134,7 @@ struct PaymentTransactionView: View { } } } - let _ = selectIndex(defaultChoiceIndex, of: choices) + _ = selectIndex(defaultChoiceIndex, of: choices) } var body: some View { diff --git a/TalerWallet1/Views/Transactions/TransactionsListView.swift b/TalerWallet1/Views/Transactions/TransactionsListView.swift @@ -201,7 +201,7 @@ struct TransactionsArraySection: View { Button { symLog?.log("deleteAction") Task { // runs on MainActor - let _ = try? await deleteAction(transaction.id, false) + try? await deleteAction(transaction.id, false) await reloadAllAction(stack.push()) } } label: {