From bfdafee2ea244f2e38495107ef734ed99b778b69 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 8 Sep 2019 04:09:05 -0500 Subject: [PATCH] Center service headings in add sync service scenes --- iOS/Settings/SettingsFeedbinAccountView.swift | 6 +++++- iOS/Settings/SettingsLocalAccountView.swift | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/iOS/Settings/SettingsFeedbinAccountView.swift b/iOS/Settings/SettingsFeedbinAccountView.swift index 00ef485b7..653aa6bec 100644 --- a/iOS/Settings/SettingsFeedbinAccountView.swift +++ b/iOS/Settings/SettingsFeedbinAccountView.swift @@ -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) diff --git a/iOS/Settings/SettingsLocalAccountView.swift b/iOS/Settings/SettingsLocalAccountView.swift index c54e65cf8..ded87769c 100644 --- a/iOS/Settings/SettingsLocalAccountView.swift +++ b/iOS/Settings/SettingsLocalAccountView.swift @@ -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)