diff --git a/DNSecure/Views/DetailView.swift b/DNSecure/Views/DetailView.swift index 588adec..f9f37ea 100644 --- a/DNSecure/Views/DetailView.swift +++ b/DNSecure/Views/DetailView.swift @@ -35,12 +35,8 @@ extension DetailView: View { Section { Toggle("Use This Server", isOn: self.$isOn) } - Section { - HStack { - Text("Name") - TextField("Name", text: self.$server.name) - .multilineTextAlignment(.trailing) - } + Section("Name") { + TextField("Name", text: self.$server.name) } self.serverConfigurationSections Section { @@ -76,12 +72,8 @@ extension DetailView: View { Section { Toggle("Use This Server", isOn: self.$isOn) } - Section { - HStack { - Text("Name") - TextField("Name", text: self.$server.name) - .multilineTextAlignment(.trailing) - } + Section("Name") { + TextField("Name", text: self.$server.name) } self.serverConfigurationSections Section { diff --git a/DNSecure/Views/DoHSections.swift b/DNSecure/Views/DoHSections.swift index 25bbc0f..8c2a7d8 100644 --- a/DNSecure/Views/DoHSections.swift +++ b/DNSecure/Views/DoHSections.swift @@ -15,20 +15,11 @@ extension DoHSections: View { var body: some View { Section { ForEach(0..