From eff56ecb469abdf568694180066a2c50c85e1484 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Fri, 8 Mar 2024 12:47:33 +0530 Subject: [PATCH] fix(apple): Align fields in Advanced Settings (#4025) Align the fields in the iOS Advanced Settings form. Fixes #3997. --- .../Sources/FirezoneKit/Features/SettingsView.swift | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/swift/apple/FirezoneKit/Sources/FirezoneKit/Features/SettingsView.swift b/swift/apple/FirezoneKit/Sources/FirezoneKit/Features/SettingsView.swift index 96460fe47..ab5cb2f97 100644 --- a/swift/apple/FirezoneKit/Sources/FirezoneKit/Features/SettingsView.swift +++ b/swift/apple/FirezoneKit/Sources/FirezoneKit/Features/SettingsView.swift @@ -409,9 +409,10 @@ public struct SettingsView: View { Form { Section( content: { - HStack(spacing: 15) { + VStack(alignment: .leading, spacing: 2) { Text("Auth Base URL") .foregroundStyle(.secondary) + .font(.caption) TextField( PlaceholderText.authBaseURL, text: Binding( @@ -423,9 +424,10 @@ public struct SettingsView: View { .textInputAutocapitalization(.never) .submitLabel(.done) } - HStack(spacing: 15) { + VStack(alignment: .leading, spacing: 2) { Text("API URL") .foregroundStyle(.secondary) + .font(.caption) TextField( PlaceholderText.apiURL, text: Binding( @@ -437,9 +439,10 @@ public struct SettingsView: View { .textInputAutocapitalization(.never) .submitLabel(.done) } - HStack(spacing: 15) { + VStack(alignment: .leading, spacing: 2) { Text("Log Filter") .foregroundStyle(.secondary) + .font(.caption) TextField( PlaceholderText.logFilter, text: Binding(