gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 08/35: iOS 15: show ToS


From: gnunet
Subject: [taler-taler-ios] 08/35: iOS 15: show ToS
Date: Thu, 27 Jul 2023 09:09:41 +0200

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 4fcdeb2a01ade97675c56d6047da94b168805eeb
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Jul 12 18:43:45 2023 +0200

    iOS 15: show ToS
---
 .../Views/WithdrawBankIntegrated/WithdrawTOSView.swift     | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawTOSView.swift 
b/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawTOSView.swift
index bb7e552..fdafd49 100644
--- a/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawTOSView.swift
+++ b/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawTOSView.swift
@@ -90,8 +90,18 @@ extension WithdrawTOSView {
                         let term2 = term1.replacingOccurrences(of: "\n"     , 
with: " ")    // remove all other linebreaks
                         let term3 = term2.replacingOccurrences(of: " ====", 
with: "\n====") // add them back for underscoring
                         let term4 = term3.replacingOccurrences(of: " ----", 
with: "\n----") // special for "Highlights:"
-                        Section {
-                            Text(term4)
+                        let term5 = term4.replacingOccurrences(of: " ****", 
with: "\n****") // special for "Terms of Service:"
+//                        Text("term0")
+                        if #available(iOS 16.0, *) {
+                            Section {
+                                Text(term5)
+                                    .font(.footnote)
+                                    .foregroundColor(Color(UIColor.label))
+                            }
+                        } else {
+                            Text(term5)
+                                .font(.footnote)
+                                .foregroundColor(Color(UIColor.label))
                         }
                     } else {
                         Section {

-- 
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]