gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 03/03: VersionInfo


From: gnunet
Subject: [taler-taler-ios] 03/03: VersionInfo
Date: Tue, 21 Nov 2023 17:19:18 +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 f7e86aa15eff1f941b0350323da0c05b0b0bcd0e
Author: Marc Stibane <marc@taler.net>
AuthorDate: Tue Nov 21 17:18:58 2023 +0100

    VersionInfo
---
 TalerWallet1/Model/WalletModel.swift        | 2 --
 TalerWallet1/Views/Settings/AboutView.swift | 8 --------
 2 files changed, 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")")
                 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]