commit 32eb6cd428efabea97739e7ec75631a84e1ced22
parent b400eca391e2fffb1b476143e2eb12803ee56726
Author: Marc Stibane <marc@taler.net>
Date: Sat, 28 Sep 2024 08:44:33 +0200
cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/HelperViews/BarGraph.swift b/TalerWallet1/Views/HelperViews/BarGraph.swift
@@ -74,7 +74,7 @@ struct BarGraph: View {
HStack(alignment: .center, spacing: 1) {
if count > 0 {
- ForEach(Array(zip(slice.indices, slice)), id: \.0) { index, transaction in
+ ForEach(tenTransactions, id: \.self) {transaction in
let common = transaction.common
let incoming = common.incoming()
let netto = common.amountEffective.value