Center service headings in add sync service scenes

This commit is contained in:
Maurice Parker
2019-09-08 04:09:05 -05:00
parent fe874f3ca7
commit bfdafee2ea
2 changed files with 10 additions and 2 deletions

View File

@@ -17,7 +17,11 @@ struct SettingsLocalAccountView : View {
NavigationView {
Form {
Section(header:
SettingsAccountLabelView(accountImage: "accountLocal", accountLabel: Account.defaultLocalAccountName).padding()
HStack {
Spacer()
SettingsAccountLabelView(accountImage: "accountLocal", accountLabel: Account.defaultLocalAccountName).padding()
Spacer()
}
) {
HStack {
TextField("Name", text: $name)