Procházet zdrojové kódy

modify textContentType for URL

marionbarker před 1 rokem
rodič
revize
aa9252e9b6

+ 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