1
0
mirror of git://jb55.com/damus synced 2024-10-06 03:33:22 +00:00

createaccount: remove username from the form

This commit is contained in:
ericholguin 2023-05-26 19:45:14 -06:00 committed by William Casarin
parent 5b7339a0de
commit eb72fb481c

View File

@ -38,17 +38,6 @@ struct CreateAccountView: View {
}
VStack {
SignupForm {
FormLabel(NSLocalizedString("Username", comment: "Label to prompt username entry."))
HStack(spacing: 0.0) {
Text(verbatim: "@")
.foregroundColor(.white)
.padding(.leading, -25.0)
FormTextInput(NSLocalizedString("satoshi", comment: "Example username of Bitcoin creator(s), Satoshi Nakamoto."), text: $account.nick_name)
.autocorrectionDisabled(true)
.textInputAutocapitalization(.never)
}
FormLabel(NSLocalizedString("Display Name", comment: "Label to prompt display name entry."), optional: true)
FormTextInput(NSLocalizedString("Satoshi Nakamoto", comment: "Name of Bitcoin creator(s)."), text: $account.real_name)