Browse Source

modify textContentType for URL

marionbarker 1 năm trước cách đây
mục cha
commit
aa9252e9b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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