aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2023-11-21 17:18:58 +0100
committerMarc Stibane <marc@taler.net>2023-11-21 17:18:58 +0100
commitf7e86aa15eff1f941b0350323da0c05b0b0bcd0e (patch)
treecde6c157900d07a4b9248c9582111852e4417731
parent111729ec4d62e38067657d165f4e0ec207d85adb (diff)
downloadtaler-ios-f7e86aa15eff1f941b0350323da0c05b0b0bcd0e.tar.gz
taler-ios-f7e86aa15eff1f941b0350323da0c05b0b0bcd0e.tar.bz2
taler-ios-f7e86aa15eff1f941b0350323da0c05b0b0bcd0e.zip
VersionInfo
-rw-r--r--TalerWallet1/Model/WalletModel.swift2
-rw-r--r--TalerWallet1/Views/Settings/AboutView.swift8
2 files changed, 0 insertions, 10 deletions
diff --git a/TalerWallet1/Model/WalletModel.swift b/TalerWallet1/Model/WalletModel.swift
index 428af7e..288f35d 100644
--- a/TalerWallet1/Model/WalletModel.swift
+++ b/TalerWallet1/Model/WalletModel.swift
@@ -79,12 +79,10 @@ fileprivate struct GetTransactionById: WalletBackendFormattedRequest {
// MARK: -
/// The info returned from Wallet-core init
struct VersionInfo: Decodable {
- var hash: String?
var version: String
var exchange: String
var merchant: String
var bank: String
- var devMode: Bool
}
// MARK: -
/// A request to initialize Wallet-core
diff --git a/TalerWallet1/Views/Settings/AboutView.swift b/TalerWallet1/Views/Settings/AboutView.swift
index adf768d..ae5fe33 100644
--- a/TalerWallet1/Views/Settings/AboutView.swift
+++ b/TalerWallet1/Views/Settings/AboutView.swift
@@ -53,14 +53,6 @@ struct AboutView: View {
SettingsItem(name: "Wallet Core Version", id1: "wallet-core") {
Text(verbatim: "\(walletCore.versionInfo?.version ?? "unknown")")
}
- if developerMode {
- SettingsItem(name: "Wallet Core DevMode", id1: "devMode") {
- let modeStr = if let devMode = walletCore.versionInfo?.devMode {
- devMode ? "YES" : "NO"
- } else { "unknown" }
- Text(modeStr)
- }
- }
SettingsItem(name: "Supported Exchange Versions", id1: "exchange") {
Text(verbatim: "\(walletCore.versionInfo?.exchange ?? "unknown")")
}