Change Settings to use Form instead of List/grouped

This commit is contained in:
Maurice Parker
2019-06-18 16:54:51 -05:00
parent 231011685c
commit ba41d0dee0
5 changed files with 5 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ struct SettingsView : View {
var body: some View {
NavigationView {
List {
Form {
Section(header: Text("ACCOUNTS")) {
ForEach(viewModel.accounts.identified(by: \.self)) { account in
@@ -86,7 +86,6 @@ struct SettingsView : View {
.foregroundColor(.primary)
}
.listStyle(.grouped)
.navigationBarTitle(Text("Settings"), displayMode: .inline)
}