[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 02/16: Prepare HTML ToS
From: |
gnunet |
Subject: |
[taler-taler-ios] 02/16: Prepare HTML ToS |
Date: |
Thu, 29 Feb 2024 17:19:09 +0100 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository taler-ios.
commit cce5bdd535fd33dd8d65682c47994f2f8d06d19a
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Feb 26 21:43:20 2024 +0100
Prepare HTML ToS
---
TalerWallet1/Controllers/PublicConstants.swift | 1 +
TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Controllers/PublicConstants.swift
b/TalerWallet1/Controllers/PublicConstants.swift
index 6fda1f3..2eb2ad8 100644
--- a/TalerWallet1/Controllers/PublicConstants.swift
+++ b/TalerWallet1/Controllers/PublicConstants.swift
@@ -51,6 +51,7 @@ public let LONGCURRENCY = "GOLDLATINUM"
// 11 characters
public let PLAINTEXT = "text/plain"
public let MARKDOWN = "text/markdown"
+public let HTML = "text/html"
public let EXCHANGEBASEURL = "exchangeBaseUrl"
public let TALERURI = "talerUri"
diff --git
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
index 3fae19d..1c9ada3 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
@@ -25,7 +25,7 @@ struct WithdrawTOSView: View {
func loadToS(_ language: String) async {
do {
if let exchangeBaseUrl {
- let acceptedFormat: [String] = [MARKDOWN, PLAINTEXT]
+ let acceptedFormat: [String] = [MARKDOWN, PLAINTEXT] //
MARKDOWN, HTML, PLAINTEXT
let someTOS = try await
model.loadExchangeTermsOfServiceM(exchangeBaseUrl,
acceptedFormat:
acceptedFormat,
acceptLanguage:
language)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 06/16: ViewIDs, (continued)
- [taler-taler-ios] 06/16: ViewIDs, gnunet, 2024/02/29
- [taler-taler-ios] 04/16: fix JSON keys for ExchangeUpdateStatus, gnunet, 2024/02/29
- [taler-taler-ios] 08/16: Use HTTP lib of quickjs-tart, still with curl, gnunet, 2024/02/29
- [taler-taler-ios] 10/16: Debugging, gnunet, 2024/02/29
- [taler-taler-ios] 03/16: fake Swiss Francs, gnunet, 2024/02/29
- [taler-taler-ios] 09/16: Helpers, gnunet, 2024/02/29
- [taler-taler-ios] 16/16: Bump version to 0.9.4 (11), gnunet, 2024/02/29
- [taler-taler-ios] 15/16: Empty Wallet, gnunet, 2024/02/29
- [taler-taler-ios] 12/16: Bump version to 0.9.4 (10), gnunet, 2024/02/29
- [taler-taler-ios] 11/16: Native Networking via URLSession.dataTask, gnunet, 2024/02/29
- [taler-taler-ios] 02/16: Prepare HTML ToS,
gnunet <=
- [taler-taler-ios] 14/16: Empty Exchanges, gnunet, 2024/02/29
- [taler-taler-ios] 05/16: cleanup, gnunet, 2024/02/29
- [taler-taler-ios] 01/16: Accessibility: don't automatically show keyboard when VoiceOver is on, gnunet, 2024/02/29