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

@@ -11,7 +11,7 @@ import Account
struct SettingsAddAccountView : View {
var body: some View {
List {
Form {
PresentationButton(destination: SettingsLocalAccountView(name: "")) {
SettingsAccountLabelView(accountImage: "accountLocal", accountLabel: Account.defaultLocalAccountName)
}
@@ -21,7 +21,6 @@ struct SettingsAddAccountView : View {
}
.padding(4)
}
.listStyle(.grouped)
.navigationBarTitle(Text("Add Account"), displayMode: .inline)
}
}