gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 34/69: tintcolor (blue) for links


From: gnunet
Subject: [taler-taler-ios] 34/69: tintcolor (blue) for links
Date: Fri, 19 Jan 2024 09:02:07 +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 d06f7abe1b576a508379f1429d0c192682bd315f
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Jan 4 17:53:48 2024 +0100

    tintcolor (blue) for links
---
 TalerWallet1/Views/Settings/SettingsItem.swift | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/TalerWallet1/Views/Settings/SettingsItem.swift 
b/TalerWallet1/Views/Settings/SettingsItem.swift
index 4c4bc72..595425e 100644
--- a/TalerWallet1/Views/Settings/SettingsItem.swift
+++ b/TalerWallet1/Views/Settings/SettingsItem.swift
@@ -20,9 +20,13 @@ struct SettingsItem<Content: View>: View {
     var body: some View {
         HStack {
             VStack {
+                let isWeb = id1?.hasPrefix("web") ?? false
+                let foreColor = isWeb ? WalletColors().tint
+                                      : .primary
                 Text(name)
                     .id(id1)
                     .frame(maxWidth: .infinity, alignment: .leading)
+                    .foregroundColor(foreColor)
                     .accessibilityFont(.title2)
                     .padding([.bottom], 0.01)
                 if let desc = description {

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