fix: improve text field UX in ExcludedDomainsView

This commit is contained in:
Kenta Kubo 2025-09-03 23:15:40 +09:00
parent 3d5397fa7e
commit bf98ce1860
No known key found for this signature in database
GPG key ID: 3D79E20285C94BE8

View file

@ -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) }