From 185e0e0271a5b6bdeb96e54234d15cdc2bf27a17 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 24 Jul 2020 19:17:43 +0200 Subject: [PATCH] Fixed that a tap on a bank account shows an random bank account but not (necessarily) selected one --- ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift index af17fa31..f30625ee 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift @@ -18,10 +18,9 @@ struct BankListItem : View { }.frame(height: 35) } - VStack { - ForEach(bank.accounts) { account in - BankAccountListItem(account: account) - } + + ForEach(bank.accounts) { account in + BankAccountListItem(account: account) } .padding(.leading, 18) }