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

@ -21,7 +21,11 @@ struct SettingsFeedbinAccountView : View {
NavigationView {
Form {
Section(header:
SettingsAccountLabelView(accountImage: "accountFeedbin", accountLabel: "Feedbin").padding()
HStack {
Spacer()
SettingsAccountLabelView(accountImage: "accountFeedbin", accountLabel: "Feedbin").padding()
Spacer()
}
) {
TextField("Email", text: $viewModel.email).textContentType(.emailAddress)
SecureField("Password", text: $viewModel.password)

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)