taler-ios

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

commit 2a57fbbeb0e52b423d9d674026dbf47203b60d66
parent 4ee74fe09ddd29c234d238729ea1d7b7ca73ec30
Author: Marc Stibane <marc@taler.net>
Date:   Wed, 19 Aug 2026 07:19:59 +0200

AI: missing ToS hint

Diffstat:
MTalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift @@ -135,8 +135,7 @@ extension WithdrawTOSView { var showButton: Bool { if tos.tosStatus == .missingTos { - // TODO: wallet-core should accept receiving money when there are no ToS - return developerMode // no devMode ==> false (don't show button) + return false // nothing to accept } if let acceptedEtag = tos.acceptedEtag { if acceptedEtag == tos.currentEtag { @@ -167,7 +166,14 @@ extension WithdrawTOSView { } } } - if tos.contentType == MARKDOWN { + if tos.tosStatus == .missingTos { + Section { + Text("This payment service has not published any terms of service.") + .talerFont(.body) + .foregroundColor(Color(UIColor.label)) + } + .accessibility(sortPriority: 1) // read this last + } else if tos.contentType == MARKDOWN { Section { let content = MarkdownContent(tos.content) Markdown(content)