diff --git a/Chronos/App/Tabs/Tokens/AddToken/AddManualTokenView.swift b/Chronos/App/Tabs/Tokens/AddToken/AddManualTokenView.swift index 73737df..4cdf3d8 100644 --- a/Chronos/App/Tabs/Tokens/AddToken/AddManualTokenView.swift +++ b/Chronos/App/Tabs/Tokens/AddToken/AddManualTokenView.swift @@ -38,16 +38,21 @@ struct AddManualTokenView: View { Section(header: Text("Information")) { LabeledContent { TextField("Issuer", text: $issuer) + .disableAutocorrection(true) } label: { Text("Issuer") } LabeledContent("Account") { TextField("Account", text: $account) + .disableAutocorrection(true) + .autocapitalization(/*@START_MENU_TOKEN@*/.none/*@END_MENU_TOKEN@*/) } LabeledContent("Secret") { Group { if showSecret { TextField("Secret", text: $secret) + .disableAutocorrection(true) + .autocapitalization(/*@START_MENU_TOKEN@*/.none/*@END_MENU_TOKEN@*/) } else { SecureField("Secret", text: $secret) } diff --git a/Chronos/App/Tabs/Tokens/Row/UpdateTokenView.swift b/Chronos/App/Tabs/Tokens/Row/UpdateTokenView.swift index 7d7c86e..56a4470 100644 --- a/Chronos/App/Tabs/Tokens/Row/UpdateTokenView.swift +++ b/Chronos/App/Tabs/Tokens/Row/UpdateTokenView.swift @@ -41,16 +41,21 @@ struct UpdateTokenView: View { Section(header: Text("Information")) { LabeledContent { TextField("Issuer", text: $issuer) + .disableAutocorrection(true) } label: { Text("Issuer") } LabeledContent("Account") { TextField("Account", text: $account) + .disableAutocorrection(true) + .autocapitalization(/*@START_MENU_TOKEN@*/.none/*@END_MENU_TOKEN@*/) } LabeledContent("Secret") { Group { if showSecret { TextField("Secret", text: $secret) + .disableAutocorrection(true) + .autocapitalization(/*@START_MENU_TOKEN@*/.none/*@END_MENU_TOKEN@*/) } else { SecureField("Secret", text: $secret) .disabled(true)