mirror of
https://github.com/yattee/yattee.git
synced 2025-01-08 22:07:10 +00:00
Fix manifest keyboard type
This commit is contained in:
parent
2f10dc8368
commit
85cb42fc8d
@ -50,12 +50,13 @@ struct LocationsSettings: View {
|
|||||||
@ViewBuilder var settings: some View {
|
@ViewBuilder var settings: some View {
|
||||||
Section(header: SettingsHeader(text: "Locations Manifest".localized())) {
|
Section(header: SettingsHeader(text: "Locations Manifest".localized())) {
|
||||||
TextField("URL", text: $instancesManifest)
|
TextField("URL", text: $instancesManifest)
|
||||||
Button("Reload manifest", action: loadCountries)
|
|
||||||
.disabled(instancesManifest.isEmpty)
|
|
||||||
#if !os(macOS)
|
#if !os(macOS)
|
||||||
.keyboardType(.webSearch)
|
.keyboardType(.URL)
|
||||||
|
.autocapitalization(.none)
|
||||||
#endif
|
#endif
|
||||||
.disableAutocorrection(true)
|
.disableAutocorrection(true)
|
||||||
|
Button("Reload manifest", action: loadCountries)
|
||||||
|
.disabled(instancesManifest.isEmpty)
|
||||||
}
|
}
|
||||||
.padding(.bottom, 4)
|
.padding(.bottom, 4)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user