Merge pull request #2200 from stuartbreckenridge/swiftui

Fixes #2199
This commit is contained in:
Maurice Parker
2020-07-03 21:18:49 -05:00
committed by GitHub
2 changed files with 9 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ struct AddWebFeedView: View {
folderPicker
}
.listStyle(InsetGroupedListStyle())
.navigationTitle("Add Web Feed")
.navigationBarTitle("Add Web Feed")
.navigationBarTitleDisplayMode(.inline)
.navigationBarItems(leading:
Button("Cancel", action: {
@@ -99,7 +99,14 @@ struct AddWebFeedView: View {
var urlTextField: some View {
HStack {
Text("Feed:")
#if os(iOS)
TextField("URL", text: $viewModel.providedURL)
.disableAutocorrection(true)
.autocapitalization(UITextAutocapitalizationType.none)
#else
TextField("URL", text: $viewModel.providedURL)
.disableAutocorrection(true)
#endif
}
}