diff options
author | Marc Stibane <marc@taler.net> | 2023-10-21 21:02:00 +0200 |
---|---|---|
committer | Marc Stibane <marc@taler.net> | 2023-10-21 21:03:16 +0200 |
commit | 07624076e60d1accca424a03663c8c0490d1a870 (patch) | |
tree | 69acc5d00a874305dd692fd3326fff4a2fe3a0fc | |
parent | fba7fcf6cc4b2cbab2d11d430de13288803ab57f (diff) | |
download | taler-ios-07624076e60d1accca424a03663c8c0490d1a870.tar.gz taler-ios-07624076e60d1accca424a03663c8c0490d1a870.tar.bz2 taler-ios-07624076e60d1accca424a03663c8c0490d1a870.zip |
Call AboutView
-rw-r--r-- | TalerWallet1/Views/Settings/SettingsView.swift | 28 |
1 files 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 |