gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]