taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit f7e86aa15eff1f941b0350323da0c05b0b0bcd0e
parent 111729ec4d62e38067657d165f4e0ec207d85adb
Author: Marc Stibane <marc@taler.net>
Date:   Tue, 21 Nov 2023 17:18:58 +0100

VersionInfo

Diffstat:
MTalerWallet1/Model/WalletModel.swift | 2--
MTalerWallet1/Views/Settings/AboutView.swift | 8--------
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git 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 @@ -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")") }