[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 15/36: About with explicit link to taler.net
From: |
gnunet |
Subject: |
[taler-taler-ios] 15/36: About with explicit link to taler.net |
Date: |
Mon, 13 Nov 2023 21:27:20 +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 819709378ea5778787eefa9842d454181ab7a0f2
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Nov 12 13:25:36 2023 +0100
About with explicit link to taler.net
---
TalerWallet1/Views/Settings/AboutView.swift | 66 ++++++++++++++++-------------
1 file changed, 37 insertions(+), 29 deletions(-)
diff --git a/TalerWallet1/Views/Settings/AboutView.swift
b/TalerWallet1/Views/Settings/AboutView.swift
index 3649414..2ad5d07 100644
--- a/TalerWallet1/Views/Settings/AboutView.swift
+++ b/TalerWallet1/Views/Settings/AboutView.swift
@@ -18,6 +18,7 @@ struct AboutView: View {
@AppStorage("developerMode") var developerMode: Bool = false
#endif
@AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic
+ @AppStorage("iconOnly") var iconOnly: Bool = false
@State private var rotationEnabled = false
@@ -31,38 +32,45 @@ struct AboutView: View {
let walletCore = WalletCore.shared
Group {
List {
-// VStack {
- HStack {
- Spacer()
- RotatingTaler(size: 100, rotationEnabled:
$rotationEnabled)
- .accessibilityHint("Will go to the taler.net
website when long-pressed.")
- .onTapGesture(count: 2) {
- rotationEnabled.toggle()
- }
- .onLongPressGesture(minimumDuration: 0.3) {
-
UIApplication.shared.open(URL(string:"https://taler.net")!, options: [:])
- }
- Spacer()
- }
- SettingsItem(name: "App Version", id1: "app") {
- Text(verbatim:
"\(Bundle.main.releaseVersionNumberPretty)")
- }
- SettingsItem(name: "Wallet Core Version", id1:
"wallet-core") {
- Text(verbatim: "\(walletCore.versionInfo!.version)")
+ HStack {
+ Spacer()
+ RotatingTaler(size: 100, rotationEnabled: $rotationEnabled)
+ .onTapGesture(count: 2) {
+ rotationEnabled.toggle()
+ }
+ Spacer()
+ }
+ SettingsItem(name: "Visit the taler.net website", id1: "web",
+ description: iconOnly ? nil : String(localized:
"More info about Gnu Taler in general...")) { }
+ .accessibilityAddTraits(.isLink)
+ .accessibilityRemoveTraits(.isStaticText)
+ .onTapGesture() {
+
UIApplication.shared.open(URL(string:"https://taler.net")!, options: [:])
}
+
+ SettingsItem(name: "App Version", id1: "app") {
+ Text(verbatim: "\(Bundle.main.releaseVersionNumberPretty)")
+ }
+ SettingsItem(name: "Wallet Core Version", id1: "wallet-core") {
+ Text(verbatim: "\(walletCore.versionInfo?.version ??
"unknown")")
+ }
+ if developerMode {
SettingsItem(name: "Wallet Core DevMode", id1: "devMode") {
- Text(verbatim: "\(walletCore.versionInfo!.devMode ?
"YES" : "NO")")
- }
- SettingsItem(name: "Supported Exchange Versions", id1:
"exchange") {
- Text(verbatim: "\(walletCore.versionInfo!.exchange)")
- }
- SettingsItem(name: "Supported Merchant Versions", id1:
"merchant") {
- Text(verbatim: "\(walletCore.versionInfo!.merchant)")
- }
- SettingsItem(name: "Used Bank", id1: "bank") {
- Text(verbatim: "\(walletCore.versionInfo!.bank)")
+ let modeStr = if let devMode =
walletCore.versionInfo?.devMode {
+ devMode ? "YES" : "NO"
+ } else { "unknown" }
+ Text(modeStr)
}
-// } // App version info
+ }
+ SettingsItem(name: "Supported Exchange Versions", id1:
"exchange") {
+ Text(verbatim: "\(walletCore.versionInfo?.exchange ??
"unknown")")
+ }
+ SettingsItem(name: "Supported Merchant Versions", id1:
"merchant") {
+ Text(verbatim: "\(walletCore.versionInfo?.merchant ??
"unknown")")
+ }
+ SettingsItem(name: "Used Bank", id1: "bank") {
+ Text(verbatim: "\(walletCore.versionInfo?.bank ??
"unknown")")
+ }
}
.id(listID)
.listStyle(myListStyle.style).anyView
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 24/36: Exchange needs Balance for Deposit, (continued)
- [taler-taler-ios] 24/36: Exchange needs Balance for Deposit, gnunet, 2023/11/13
- [taler-taler-ios] 21/36: amountToTransfer Send, gnunet, 2023/11/13
- [taler-taler-ios] 07/36: Amount(currency:cent:), gnunet, 2023/11/13
- [taler-taler-ios] 06/36: RequestPurpose, gnunet, 2023/11/13
- [taler-taler-ios] 01/36: Startup Chime, gnunet, 2023/11/13
- [taler-taler-ios] 18/36: amountToTransfer Transactions, gnunet, 2023/11/13
- [taler-taler-ios] 17/36: amountToTransfer Balances, gnunet, 2023/11/13
- [taler-taler-ios] 09/36: cleanup, zero, gnunet, 2023/11/13
- [taler-taler-ios] 29/36: less logging, gnunet, 2023/11/13
- [taler-taler-ios] 13/36: once at very first startup, gnunet, 2023/11/13
- [taler-taler-ios] 15/36: About with explicit link to taler.net,
gnunet <=
- [taler-taler-ios] 28/36: Cleanup property wrappers, gnunet, 2023/11/13
- [taler-taler-ios] 22/36: amountToTransfer ManualWithdraw, gnunet, 2023/11/13
- [taler-taler-ios] 33/36: Announce shouldn't change screen, gnunet, 2023/11/13
- [taler-taler-ios] 34/36: Previews, gnunet, 2023/11/13
- [taler-taler-ios] 32/36: Shortcuts (50,25,10,5), gnunet, 2023/11/13
- [taler-taler-ios] 11/36: Debugging, gnunet, 2023/11/13
- [taler-taler-ios] 25/36: amountToTransfer Currency, gnunet, 2023/11/13
- [taler-taler-ios] 16/36: TransactionsArraySliceV, gnunet, 2023/11/13
- [taler-taler-ios] 20/36: amountToTransfer Request, gnunet, 2023/11/13
- [taler-taler-ios] 26/36: Minimalistic, gnunet, 2023/11/13