Skip to content

Commit aa9252e

Browse files
committed
modify textContentType for URL
1 parent 3ef056b commit aa9252e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopFollow/Nightscout/NightscoutSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct NightscoutSettingsView: View {
2727
private var urlSection: some View {
2828
Section(header: Text("URL")) {
2929
TextField("Enter URL", text: $viewModel.nightscoutURL)
30-
.textContentType(.URL)
30+
.textContentType(.username)
3131
.autocapitalization(.none)
3232
.disableAutocorrection(true)
3333
.onChange(of: viewModel.nightscoutURL) { newValue in

0 commit comments

Comments
 (0)