commit 45985cc94d0d8e8c18faf9630b299be52791f5a8
parent 76b66a4ce869b476421041a964454d1ae610734b
Author: Marc Stibane <marc@taler.net>
Date: Mon, 24 Jul 2023 16:06:40 +0200
ToS
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawTOSView.swift b/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawTOSView.swift
@@ -109,7 +109,7 @@ extension WithdrawTOSView {
}
}
}.safeAreaInset(edge: .bottom) {
- Button(String(localized: "Accept ToS"), action: acceptAction)
+ Button(String(localized: "Accept Terms of Service", comment: "Button"), action: acceptAction)
.buttonStyle(TalerButtonStyle(type: .prominent))
.padding(.horizontal)
}
diff --git a/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawURIView.swift b/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawURIView.swift
@@ -56,12 +56,15 @@ struct WithdrawURIView: View {
}.buttonStyle(TalerButtonStyle(type: .prominent))
.padding()
} else {
+ Text("You must accept the Terms of Service first before you can withdraw electronic cash to your wallet.")
+ .multilineTextAlignment(.leading)
+ .padding()
NavigationLink(destination: LazyView {
WithdrawTOSView(exchangeBaseUrl: exchangeBaseUrl,
viewID: SHEET_WITHDRAW_TOS,
acceptAction: nil) // pop back to here
}) {
- Text("Check Terms of Service") // VIEW_WITHDRAW_TOS
+ Text("Read Terms of Service") // VIEW_WITHDRAW_TOS
}.buttonStyle(TalerButtonStyle(type: .prominent))
.padding()
}