2199
On iOS: • Autocorrection and auto capitalisation is disabled on URL field On macOS: • Autocorrection is disabled.
This commit is contained in:
parent
e99ff1346b
commit
9491855fb8
|
@ -78,7 +78,7 @@ struct AddWebFeedView: View {
|
||||||
folderPicker
|
folderPicker
|
||||||
}
|
}
|
||||||
.listStyle(InsetGroupedListStyle())
|
.listStyle(InsetGroupedListStyle())
|
||||||
.navigationTitle("Add Web Feed")
|
.navigationBarTitle("Add Web Feed")
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
.navigationBarTitleDisplayMode(.inline)
|
||||||
.navigationBarItems(leading:
|
.navigationBarItems(leading:
|
||||||
Button("Cancel", action: {
|
Button("Cancel", action: {
|
||||||
|
@ -99,7 +99,14 @@ struct AddWebFeedView: View {
|
||||||
var urlTextField: some View {
|
var urlTextField: some View {
|
||||||
HStack {
|
HStack {
|
||||||
Text("Feed:")
|
Text("Feed:")
|
||||||
|
#if os(iOS)
|
||||||
TextField("URL", text: $viewModel.providedURL)
|
TextField("URL", text: $viewModel.providedURL)
|
||||||
|
.disableAutocorrection(true)
|
||||||
|
.autocapitalization(UITextAutocapitalizationType.none)
|
||||||
|
#else
|
||||||
|
TextField("URL", text: $viewModel.providedURL)
|
||||||
|
.disableAutocorrection(true)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue