From b3dd944ce5ffefe9b65a3863451cc5c4df3321ed Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 24 Aug 2020 17:56:56 +0200 Subject: [PATCH] Using now systemGroupedBackground() --- .../BankingiOSApp/ui/views/AccountsTab.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift index e5315e57..07aefea2 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift @@ -13,15 +13,15 @@ struct AccountsTab: View { VStack { if data.banks.isEmpty { Spacer() - + AddAccountButtonView() - + Spacer() } else { Form { AllBanksListItem(banks: data.banks) - + ForEach(data.banks) { bank in BankListItem(bank: bank) } @@ -29,13 +29,13 @@ struct AccountsTab: View { Section { AddAccountButtonView() } - .background(Color(UIColor.systemGroupedBackground)) + .systemGroupedBackground() .listRowInsets(EdgeInsets()) - + } } } - .background(Color(UIColor.systemGroupedBackground)) + .systemGroupedBackground() } }