From bf98ce1860acf75b17cbc02f946c94433f9b41fc Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Wed, 3 Sep 2025 23:15:40 +0900 Subject: [PATCH] fix: improve text field UX in `ExcludedDomainsView` --- DNSecure/Views/ExcludedDomainsView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DNSecure/Views/ExcludedDomainsView.swift b/DNSecure/Views/ExcludedDomainsView.swift index b8c116f..2582ae6 100644 --- a/DNSecure/Views/ExcludedDomainsView.swift +++ b/DNSecure/Views/ExcludedDomainsView.swift @@ -17,6 +17,10 @@ extension ExcludedDomainsView: View { set: { self.domains[i] = $0 } ) ) + .textContentType(.URL) + .keyboardType(.URL) + .textInputAutocapitalization(.never) + .autocorrectionDisabled() } .onDelete { self.domains.remove(atOffsets: $0) } .onMove { self.domains.move(fromOffsets: $0, toOffset: $1) }