Fix manifest keyboard type

This commit is contained in:
Dave Nicolson 2023-09-09 18:18:14 +02:00
parent 2f10dc8368
commit 85cb42fc8d

View File

@ -50,12 +50,13 @@ struct LocationsSettings: View {
@ViewBuilder var settings: some View {
Section(header: SettingsHeader(text: "Locations Manifest".localized())) {
TextField("URL", text: $instancesManifest)
Button("Reload manifest", action: loadCountries)
.disabled(instancesManifest.isEmpty)
#if !os(macOS)
.keyboardType(.webSearch)
.keyboardType(.URL)
.autocapitalization(.none)
#endif
.disableAutocorrection(true)
Button("Reload manifest", action: loadCountries)
.disabled(instancesManifest.isEmpty)
}
.padding(.bottom, 4)