commit 9160f682811886295a77a66c0c50d4c58b873ad6
parent fdc36ed73a352738674a14cc9daf5f263050edf7
Author: Marc Stibane <marc@taler.net>
Date: Wed, 19 Aug 2026 07:59:37 +0200
AI: fix View after Exchange master-key rotation
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Model/Model+Balances.swift b/TalerWallet1/Model/Model+Balances.swift
@@ -21,6 +21,11 @@ enum BalanceFlag: String, Codable {
struct Balance: Identifiable, Decodable, Hashable, Sendable {
var id: String {
if let url = scopeInfo.url {
+ if let masterPub = scopeInfo.masterPub {
+ // exchange-legacy-keys: same url as the exchange's current scope,
+ // must stay distinct or the two rows collide in SwiftUI lists
+ return url + "#" + masterPub
+ }
return url
}
return scopeInfo.currency // only ISO 4217 currencies!