taler-ios

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

commit 052a3d0f63e34db0d787b954e329500db563aed9
parent a2fe70f411e2fb22e32f1dcc552a8d789eab15b0
Author: Marc Stibane <marc@taler.net>
Date:   Sat, 31 Oct 2026 19:09:59 +0100

TalDir

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

diff --git a/TalerWallet1/Views/Settings/SettingsView.swift b/TalerWallet1/Views/Settings/SettingsView.swift @@ -158,6 +158,19 @@ struct SettingsView: View { // TODO: add another toggle with snail/hare for 60 sec / 10 sec } } +#if GNU_TALER || TALER_NIGHTLY + @ViewBuilder func talDirV() -> some View { + let talDirTitle = String(localized: "TitleTalDir", defaultValue: "Taler Directory") + NavigationLink { + TalDirSettingsView(stack: stack.push(), + navTitle: talDirTitle) + } label: { + SettingsItem(name: talDirTitle, id1: "talDir", + imageName: ICONNAME_PERSON3, + description: String(localized: "Your payment contacts", comment: "TalDir")) {} + } + } +#endif @ViewBuilder func pushNotificationsV() -> some View { SettingsToggle(name: String(localized: "Push Notifications"), value: $pushNotifications, id1: "pushNotifications", @@ -239,6 +252,9 @@ struct SettingsView: View { paymentServicesV() bankAccountsV() biometryV() +#if GNU_TALER || TALER_NIGHTLY + talDirV() +#endif #if TALER_NIGHTLY pushNotificationsV() .alert("Push Notifications are disabled",