Explorar o código

modify textContentType for URL

marionbarker hai 1 ano
pai
achega
aa9252e9b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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