gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 09/11: Call AboutView


From: gnunet
Subject: [taler-taler-ios] 09/11: Call AboutView
Date: Sat, 21 Oct 2023 21:10:07 +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 07624076e60d1accca424a03663c8c0490d1a870
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sat Oct 21 21:02:00 2023 +0200

    Call AboutView
---
 TalerWallet1/Views/Settings/SettingsView.swift | 28 +++++++-------------------
 1 file changed, 7 insertions(+), 21 deletions(-)

diff --git a/TalerWallet1/Views/Settings/SettingsView.swift 
b/TalerWallet1/Views/Settings/SettingsView.swift
index 37a9b48..01b1801 100644
--- a/TalerWallet1/Views/Settings/SettingsView.swift
+++ b/TalerWallet1/Views/Settings/SettingsView.swift
@@ -93,6 +93,13 @@ struct SettingsView: View {
         let walletCore = WalletCore.shared
         Group {
             List {
+                let aboutStr = String(localized: "About GNU Taler")
+                NavigationLink {        // whole row like in a tableView
+                    LazyView { AboutView(stack: stack.push(), navTitle: 
aboutStr) }
+                } label: {
+                    SettingsItem(name: aboutStr,
+                          description: String(localized: "More info about this 
app...")) {}
+                }
                 if controller.hapticCapability.supportsHaptics {
                     SettingsToggle(name: String(localized: "Haptics"), value: 
$useHaptics,
                                    description: String(localized: "Vibration 
Feedback"))
@@ -235,27 +242,6 @@ struct SettingsView: View {
                         }
                     }
                 }
-
-                VStack {
-                    SettingsItem(name: "App Version") {
-                        Text(verbatim: 
"\(Bundle.main.releaseVersionNumberPretty)")
-                    }
-                    SettingsItem(name: "Wallet Core Version") {
-                        Text(verbatim: "\(walletCore.versionInfo!.version)")
-                    }
-                    SettingsItem(name: "Wallet Core DevMode") {
-                        Text(verbatim: "\(walletCore.versionInfo!.devMode ? 
"YES" : "NO")")
-                    }
-                    SettingsItem(name: "Supported Exchange Versions") {
-                        Text(verbatim: "\(walletCore.versionInfo!.exchange)")
-                    }
-                    SettingsItem(name: "Supported Merchant Versions") {
-                        Text(verbatim: "\(walletCore.versionInfo!.merchant)")
-                    }
-                    SettingsItem(name: "Used Bank") {
-                        Text(verbatim: "\(walletCore.versionInfo!.bank)")
-                    }
-                } // App version info
             }
             .id(listID)
             .listStyle(myListStyle.style).anyView

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