We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11f9f8d commit 90bacd9Copy full SHA for 90bacd9
Core/Sources/HostApp/AccountSettings/OpenAIView.swift
@@ -27,9 +27,10 @@ struct OpenAIView: View {
27
var body: some View {
28
Form {
29
HStack {
30
- TextField(text: $settings.openAIAPIKey, prompt: Text("sk-*")) {
+ SecureField(text: $settings.openAIAPIKey, prompt: Text("sk-*")) {
31
Text("OpenAI API Key")
32
- }.textFieldStyle(.roundedBorder)
+ }
33
+ .textFieldStyle(.roundedBorder)
34
Button(action: {
35
openURL(apiKeyURL)
36
}) {
0 commit comments