taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 9a7b908e68594398c6e8cec31e5156c6df075fc2
parent 144af7702ed2420f9e30ef564cb33664d044010e
Author: Marc Stibane <marc@taler.net>
Date:   Wed,  9 Jul 2025 07:37:42 +0200

cleanup

Diffstat:
MTalerWallet1/Views/Actions/Banking/ManualWithdraw.swift | 5++++-
MTalerWallet1/Views/OIM/OIMcash.swift | 2+-
MTalerWallet1/Views/OIM/OIMp2pReadyView.swift | 2+-
MTalerWallet1/Views/OIM/OIMp2pReceiveView.swift | 2+-
4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift b/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift @@ -87,7 +87,10 @@ struct ManualWithdraw: View { amountToTransfer: $amountToTransfer, exchange: exchange) } else { // should never happen, we either have an exchange or a balance - Text("ManualWithdrawContent: Cannot determine scope.") + let title = "ManualWithdrawContent: Cannot determine scope" // should not happen, so no L10N + ErrorView(title: title, message: nil, copyable: true) { + dismissTop(stack.push()) + } } } // ScrollView .navigationTitle(navTitle) diff --git a/TalerWallet1/Views/OIM/OIMcash.swift b/TalerWallet1/Views/OIM/OIMcash.swift @@ -437,7 +437,7 @@ final class OIMcash: ObservableObject, Sendable { var initial: TimeInterval = 0.01 let interval = interval(count: count, duration: duration, initial: initial) - while count > 0 { + while count > 0 { // for each fund, small to high count -= 1 flyToChest(count, after: initial) initial += interval diff --git a/TalerWallet1/Views/OIM/OIMp2pReadyView.swift b/TalerWallet1/Views/OIM/OIMp2pReadyView.swift @@ -28,7 +28,7 @@ struct OIMp2pReadyView: View { OIMbackground() { VStack { if let transactionId { - Text("transaction sent") + Text(verbatim: "transaction sent") } else { LoadingView(stack: stack.push(), scopeInfo: scope, diff --git a/TalerWallet1/Views/OIM/OIMp2pReceiveView.swift b/TalerWallet1/Views/OIM/OIMp2pReceiveView.swift @@ -71,7 +71,7 @@ struct OIMp2pReceiveView: View { } } } else { - Text("loading") + Text(verbatim: "loading") } } }