commit 7ff34791a943616644428c6f4416fa8776d4cd7d
parent 4686a2250daac353084fbbf043c13b7a00389810
Author: Marc Stibane <marc@taler.net>
Date: Sat, 10 Oct 2026 19:08:32 +0200
AI: box to close
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/OIM/OIMbalances.swift b/TalerWallet1/Views/OIM/OIMbalances.swift
@@ -251,7 +251,7 @@ struct OIMbalances: View {
HStack(spacing: 30) {
ForEachWithIndex(array: controller.balances) { index, balance in
let oimCurrency = oimCurrency(balance.scopeInfo, oimEuro: oimEuro)
- let itsMe = selectedBalance == balance
+ let itsMe = selectedBalance?.scopeInfo == balance.scopeInfo
let isClosed = selectedBalance == nil
let size = isClosed ? 160.0 : OIMbuttonSize
ZStack {