Browse Source

Disabling autocorrect on username

profile-edit
Sam DuBois 2 years ago
committed by William Casarin
parent
commit
63cd321634
  1. 5
      damus/Views/Account/EditAccountView.swift

5
damus/Views/Account/EditAccountView.swift

@ -34,8 +34,9 @@ struct EditAccountView: View {
}
Section(header: Text("Details")) {
TextField("Username", text: $account.real_name)
TextField("Personal Name", text: $account.nick_name)
TextField("Real Name", text: $account.real_name)
TextField("Username", text: $account.nick_name)
.autocorrectionDisabled(true)
TextEditor(text: $account.about)
.frame(height: 150)

Loading…
Cancel
Save