Add padding to settings account header to make it look like the other section headers

This commit is contained in:
Maurice Parker 2019-09-08 04:48:30 -05:00
parent d9ea35b6f6
commit 2497c50ade
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ import SwiftUI
import Combine
import Account
struct SettingsView : View {
@ObservedObject var viewModel: ViewModel
@ -40,7 +39,7 @@ struct SettingsView : View {
}
func buildAccountsSection() -> some View {
Section(header: Text("ACCOUNTS")) {
Section(header: Text("ACCOUNTS").padding(.top, 22.0)) {
ForEach(viewModel.accounts) { account in
NavigationLink(destination: SettingsDetailAccountView(viewModel: SettingsDetailAccountView.ViewModel(account))) {
Text(verbatim: account.nameForDisplay)