[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.
- [taler-taler-ios] branch master updated (adfc919 -> a0c6bdb), gnunet, 2023/10/21
- [taler-taler-ios] 10/11: Use CurrencyFormatter for Balance, gnunet, 2023/10/21
- [taler-taler-ios] 11/11: Minimalistic, gnunet, 2023/10/21
- [taler-taler-ios] 06/11: listExchangesForScopedCurrency, gnunet, 2023/10/21
- [taler-taler-ios] 04/11: cleanup, gnunet, 2023/10/21
- [taler-taler-ios] 01/11: CurrencySpecification, gnunet, 2023/10/21
- [taler-taler-ios] 03/11: ExchangeListItem, gnunet, 2023/10/21
- [taler-taler-ios] 05/11: getCurrencyInfo(scope), gnunet, 2023/10/21
- [taler-taler-ios] 02/11: HTTPError, gnunet, 2023/10/21
- [taler-taler-ios] 09/11: Call AboutView,
gnunet <=
- [taler-taler-ios] 08/11: AboutView, gnunet, 2023/10/21
- [taler-taler-ios] 07/11: cache currency infos, gnunet, 2023/10/21