taler-ios

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

commit d3ad523328aaede2784f314751520cfd66e76291
parent fdf717936941861274293e79e33c75e60246d51b
Author: Marc Stibane <marc@taler.net>
Date:   Mon,  3 Aug 2026 16:06:16 +0200

Hashable needed for ForEach

Diffstat:
MTalerWallet1/Helper/CurrencySpecification.swift | 2+-
MTalerWallet1/Model/Model+Withdraw.swift | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Helper/CurrencySpecification.swift b/TalerWallet1/Helper/CurrencySpecification.swift @@ -275,7 +275,7 @@ public struct CurrencyInfo: Sendable { } } // MARK: - -public struct CurrencySpecification: Codable, Equatable, Sendable { +public struct CurrencySpecification: Codable, Equatable, Hashable, Sendable { enum CodingKeys: String, CodingKey { case name case commonAmounts = "common_amounts" diff --git a/TalerWallet1/Model/Model+Withdraw.swift b/TalerWallet1/Model/Model+Withdraw.swift @@ -45,7 +45,7 @@ struct TransferOption: Codable, Hashable { var qrCodes: [QrCodeSpec]? } -struct ExchangeAccountDetails: Decodable { +struct ExchangeAccountDetails: Decodable, Hashable { var status: String // "OK" or "error" - then conversionError var paytoUri: String var transferAmount: Amount? // only if "OK"