Selaa lähdekoodia

modify textContentType for URL

marionbarker 1 vuosi sitten
vanhempi
commit
aa9252e9b6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      LoopFollow/Nightscout/NightscoutSettingsView.swift

+ 1 - 1
LoopFollow/Nightscout/NightscoutSettingsView.swift

@@ -27,7 +27,7 @@ struct NightscoutSettingsView: View {
     private var urlSection: some View {
         Section(header: Text("URL")) {
             TextField("Enter URL", text: $viewModel.nightscoutURL)
-                .textContentType(.URL)
+                .textContentType(.username)
                 .autocapitalization(.none)
                 .disableAutocorrection(true)
                 .onChange(of: viewModel.nightscoutURL) { newValue in