commit 5dedb7c29d686d94f1a5b3fc1a4293db92e28c84
parent bd5805443447e48b38f28c34bea096b9b327ce4f
Author: Darrell <zh0521@gmail.com>
Date: Wed, 21 Dec 2022 16:15:53 +0900
Disable autocomplete for username
Closes #81
Changelog-Fixed: Disable autocorrection for username when creating account
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/CreateAccountView.swift b/damus/Views/CreateAccountView.swift
@@ -47,6 +47,7 @@ struct CreateAccountView: View {
.padding(.leading, -25.0)
FormTextInput("satoshi", text: $account.nick_name)
+ .autocorrectionDisabled(true)
.textInputAutocapitalization(.never)
}