taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit d06f7abe1b576a508379f1429d0c192682bd315f
parent c8adbe5082fdda1e210a75976da05ef4e35e2178
Author: Marc Stibane <marc@taler.net>
Date:   Thu,  4 Jan 2024 17:53:48 +0100

tintcolor (blue) for links

Diffstat:
MTalerWallet1/Views/Settings/SettingsItem.swift | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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 {