From b40e865af6d2a24b1d3f312a03c76c76c2c97151 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 1 Sep 2020 15:13:50 +0200 Subject: [PATCH] Displaying now bank accounts according to their display index --- ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift index 011a916e..85c7cfca 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift @@ -21,7 +21,7 @@ struct BankListItem : View { - ForEach(bank.accounts) { account in + ForEach(bank.accountsSorted) { account in BankAccountListItem(account: account) } .padding(.leading, 18)